As far as I understand, this should be the class implementing javax.ejb.embeddable.EJBContainer. If you see the javadocs for EJBContainer.PROVIDER it says "Standard property name for specifying the embeddable container implementation bootstrap class. Property value is a fully-qualified class name. "
Secondly, if you look at 22.3.3, it says "The EJBContainer bootstrap class will locate all of the container providers by their provider configuration files and call EJBContainerProvider.createEJBContainer(Map<?, ?>) on them in turn until an appropriate backing provider returns an EJBContainer. A provider may deem itself as appropriate for the embeddable application if any of the following are true : •*The javax.ejb.embeddable.provider property was included in the Map passed to createEJBContainer and the value of the property is the provider’s implementation class." * On Mon, Aug 9, 2010 at 9:24 PM, David Jencks <[email protected]> wrote: > The ejb 3.1 spec says > > 22.2.2.1 javax.ejb.embeddable.provider > This property holds a String value that specifies the fully-qualified name > of an embeddable container provider class corresponding to the embeddable > container implementation that should be used for this application. > The property name is defined as EJBContainer.PROVIDER. > > I think this clearly and unambiguously means the property value should be > the class name of the implementation of javax.ejb.spi.EJBContainerProvider. > > Can anyone explain how to understand this sentence to mean that the > property value is the class name of the implementation of > javax.ejb.embeddable.EJBContainer? > > thanks > david jencks > > -- Karan Singh Malhi
