0 Replies Latest reply on Jan 28, 2003 11:41 PM by Trevor Campbell

    Dynamic compiling classes in EJB.

    Trevor Campbell Newbie

      We are converting a large app to run in JBoss. Part of the app uses a scripting language and the scripts are translated into Java and compiled on the fly to .class files.

      The structure is similar to how Tomcat hanldes .jsp files

      In JBoss where can I put the compiled classes.

      My thoughts are to create a directory /classes/com/kaz/myapp in the JBoss /deploy directory and then set the classpath using the -C startup parameter to add this directory to the claspath.

      Really I would prefer an option that was a bit easier to deploy (meaning it could all be wrappped up in the deployment .ear file)

      Any suggestions and ideas would be appreciated.