[jboss-user] [EJB 3.0] - Re: EJB 3.1/2 Embeddable Usage

jaikiran do-not-reply at jboss.com
Sat Oct 4 00:45:31 EDT 2008


Carlo,

I see that a EJBContainer can be created using the jar files in the classpath:

  | /**
  |     * Create and initialize an embeddable EJB container. 
  |     * JVM classpath is searched for all ejb-jars or exploded ejb-jars in directory format.
  |     * 
  |     * @return EJBContainer instance
  |     * @throws EJBException Thrown if the container or application could not 
  |     *   be successfully initialized.
  |     */
  |    public static EJBContainer createEJBContainer() throws EJBException
  |    {
  |       return createEJBContainer(null);
  |    }

The spec too only mentions the jar files. Does the embeddable project also plan to support creating EJBContainer(s) from EARs which have one or more EJB modules? 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180382#4180382

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180382



More information about the jboss-user mailing list