Setting up the JEE environment for generated code