0 Replies Latest reply on Apr 13, 2006 4:57 PM by mrhightech

    Optimizing Embedded EJB deployment

    mrhightech

      Hello all :)

      As now my /local lookups are working, I am trying to speed up deployment for my beans.

      I currently use the simplest method:

      EJB3StandaloneBootstrap.boot(null);
      EJB3StandaloneBootstrap.scanClasspath();


      But since I have many EJBs, libraries etc. I find it very inefficient.

      I could use jars and use only those directories as deploy dirs, but this is not exactly what I have in mind now, mainly because I just want to run it off the sources in my IDE.

      I would like to be able to point to some packages in my classpath and use only this.

      It basically boils down to :

      - use the proper persistence.xml
      - point to a package where my beans are com.xxx.beans.*
      - repeat for all packages containing beans

      How could I do this ?

      Thank you,

      Daniel