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:
- 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.
- Place a linkage properties file in the module. This may be done
by EGL automatically during generation. For more information, see Linkage properties file.
- Eliminate duplicate JAR files.
- 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.
- 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.