5 Replies Latest reply on May 6, 2005 9:56 AM by Bill Burke

    embeddable EJB deployments in WARs

    Bill Burke Master

      I'm trying to figure out how embedded EJBs will be deployed. The simplest way is to just register all EJB classes with some Deployer class by hand. THis is just way too verbose and cumbersome.


      The other would be to browse a jar with all the EJB3 classes and configuration files (just like in the jBoss appp server).

      The thing is, I don't think how this could be done within Tomcat. There is no way I can think of to get the URL of the JAR to browse and deploy from because the EJB jar would be in the WEB-INF/lib directory and part of the classpath. One thought is to deplicate the JAR

      WEB-INF/lib/ejbs.jar
      WEB-INF/classes/ejbs.jar

      Then you could do getResource("ejbs.jar");

      Can anybody think of another way?