1 Reply Latest reply on Dec 1, 2010 8:58 AM by jaikiran

    Deployment of ejb-jar in debug mode extremely slow

    alexander.paluch

      Hello everyone,

       

      I encounter the following problem:

       

      1) I Deploy an ejb-jar on jboss 5.1.GA in debug mode (shared memory or tcp)

      2) The ejb-jar contains about 400 EJBs (all with remote and local interfaces)

       

      It takes about 8-13 Minutes of startup time; what takes this long is the starting of an EJB.

       

      I thought about

       

      a) throwing the remote interfaces away (do not need them anyway)

      b) converting all but the facade ejbs into pojos and pass the resources like entitymanagers manually around instead of letting them be injected

       

      Are these ideas fine? Any more suggestions?

       

      Best regards!

      Alexander