The program property enableJ2EE specifies
whether a VG web transaction that runs completely in a JEE application
server uses the following JEE capabilities: data sources rather than
direct database connections, and the JEE deployment descriptor rather
than a Java™ properties file.
The property enableJ2EE is of type BOOLEAN
and is ignored if the web transaction runs as a COBOL program.
A runtime error occurs if you set the property enableJ2EE to
YES and the web transaction runs in a Java environment
other than a JEE-compliant application server.
Values
- NO (the default value)
- The transaction connects to databases directly, and the environment
is defined by a properties file
- YES
- The transaction connects to databases by using data sources; and
the environment is defined by web.xml, the JEE deployment descriptor
The setting of the build descriptor option j2ee has
no effect on the generation of a VG web transaction. However, if you
are generating additional Java output
(in particular, a library), the setting of the build descriptor option
affects the additional output.