EGL Reference Guide for iSeries


Generating into a project

If you are generating a Java program or wrapper, it is recommended (and in some cases required) that you set build descriptor option genProject, which causes generation into a project. If you are generating a COBOL program, however, you must use build descriptor option genDirectory, which generates output into a directory.

For details on the relationship of genDirectory and genProject, see genProject.

EGL provides various services for you when you generate into a project. The services vary by project type, as do your next tasks:

Application client project
When you generate into an application client project, EGL does as follows:

Your next tasks are as follows:

  1. If you are calling the generated program by way of TCP/IP, provide run-time access to a listener, as described in Setting up the TCP/IP listener
  2. Provide access to non-EGL jar files
  3. Now that you have placed output files in a project, continue setting up the J2EE run-time environment
EJB project
When you generate into an EJB project, EGL does as follows:

Your next tasks are as follows:

  1. Provide access to non-EGL jar files
  2. Generate deployment code
  3. Now that you have placed output files in a project, continue setting up the J2EE run-time environment
J2EE Web project
EGL does as follows:

Your next tasks are as follows:

  1. Providing access to non-EGL jar files
  2. Now that you have placed output files in a project, continue Setting up the J2EE run-time environment
Java project
If you are generating into a non-J2EE Java project for debugging or production purposes, EGL does as follows:

Now that you have placed output files in a project, do as follows:

For details on the consequence of generating into a non-existent project, see genProject.


Related tasks
Generating deployment code for EJB projects
Deploying a linkage properties file
Setting deployment-descriptor values
Providing access to non-EGL jar files
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


Related reference
genDirectory
genProject
sessionBeanID


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]