j2ee
The build descriptor option j2ee is used during Java-code generation to indicate whether the generated code will use the following JEE capabilities: data sources rather than direct database connections, and the JEE deployment descriptor rather than a Java™ properties file.
When you generate a VGWebTransaction Java™ program, J2EE is set to NO regardless of what is specified in this option. In this case, you can use the program property enableJ2EE to ensure that the Java™ program uses JEE capabilities. Note that if you are generating additional output (in particular, a library) , the setting of the build descriptor option j2ee affects the additional output.
Values
- NO (the default value)
- Generates a program that connects to databases directly. In this case, the environment is defined by a properties file.
- YES
- Generates a program that connects to databases by using data sources. In this case, the environment is defined by web.xml, the JEE deployment descriptor.