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.