Setting up the JEE runtime environment for EGL-generated code

EGL-generated Java™ programs and Java wrappers run on a JEE server, such as WebSphere® Application Server.

When embedding generated Java classes into a JEE module, follow these steps:
  1. Place output files in a project, in either of two ways:
    • Generate into a project, the preferred technique;
    • Generate into a directory, then import files into a project.
  2. Place a linkage properties file in the module. This may be done by EGL automatically during generation. For more information, see Linkage properties file.
  3. Eliminate duplicate JAR files.
  4. Export an enterprise archive (EAR) file, which may include Web application archive (WAR) files and other EAR files; for details on the procedure, see the topics on exporting files in the EGL Programmer's Guide.
  5. Import the EAR file into the JEE server that will host your application; for details on the procedure, see the documentation for your JEE server.

Feedback