This page describes how to process Java code that is generated into a directory. It is recommended, however, that you avoid generating Java code into a directory; instead, follow the procedures described in Generating into a project.
For details on generating a COBOL program, see Generating for COBOL.
To generate Java code into a directory, specify the build descriptor option genDirectory and avoid specifying the build descriptor option genProject.
Your next tasks depend on the project type:
EGL_GENERATORS_PLUGINDIR/runtime/fda.jar EGL_GENERATORS_PLUGINDIR/runtime/fdaj.jar
For details on the variable at the beginning of each entry, see Setting the variable EGL_GENERATORS_PLUGINDIR.
installationDir\wstools\eclipse\plugins\ com.ibm.etools.egl.generators_version\runtime
Copy those files into each enterprise application project that references the application client project.
If you are importing generated output from package my.trial.package, for example, you must import that output into a folder that resides in the following location:
appClientModule/my/trial/package
EGL_GENERATORS_PLUGINDIR/runtime/fda.jar EGL_GENERATORS_PLUGINDIR/runtime/fdaj.jar
For details on the variable at the beginning of each entry, see Setting the variable EGL_GENERATORS_PLUGINDIR.
installationDir\wstools\eclipse\plugins\ com.ibm.etools.egl.generators_version\runtime
Copy those files into each enterprise application project that references the EJB project.
If you are importing generated output from package my.trial.package, for example, you must import that output into a folder that resides in the following location:
ejbModule/my/trial/package
installationDir\wstools\eclipse\plugins\ com.ibm.etools.egl.generators_version\runtime
The destination for the files is the following project folder:
WebContent/WEB-INF/lib
If you are importing generated output from package my.trial.package, for example, you must import that output into a folder that resides in the following location:
WebContent/my/trial/package
At run time, values in the program properties file are used to set up a standard JDBC connection. For details, see Understanding how a standard JDBC connection is made.
For a Java project, your tasks are as follows:
EGL_GENERATORS_PLUGINDIR/runtime/fda.jar EGL_GENERATORS_PLUGINDIR/runtime/fdaj.jar
For details on the variable at the beginning of each entry, see Setting the variable EGL_GENERATORS_PLUGINDIR.
Related tasks
Generating deployment code for EJB projects
Generating for COBOL
Generating into a project
Deploying a linkage properties file
Setting deployment-descriptor values
Providing access to non-EGL jar files
Setting the JNDI name for EJB projects
Setting the variable EGL_GENERATORS_PLUGINDIR
Setting up the J2EE run-time environment for EGL-generated code
Understanding how a standard JDBC connection is made
Updating the deployment descriptor manually
Updating the J2EE environment file
Related reference
genDirectory
genProject
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.