Embeddable EJB container functions

According to the Enterprise JavaBeans (EJB) 3.1 specification, all embeddable EJB containers that vendors use must at least implement the EJB Lite subset of EJB functionality. The application server also contains additional features that support the EJB Lite subset. Refer to the EJB 3.1 specification for more information.

Attention: Container-managed authentication is only supported with the default container-managed authentication alias. For data sources, the user ID and password fields of the Java EE data source resource, or the embeddable properties data source, are used as the default container-managed authentication alias.

EJB Lite includes:

  • Local (and no-interface) session beans with synchronous methods only, which include stateless, stateful, and singleton bean types.
  • Declarative and programmatic security.
  • Interceptors.
  • Support for annotations or XML deployment descriptors, the ejb-jar.xml file.
  • Java Persistence Architecture (JPA) 2.0.

The WebSphere embeddable container provides the following additional functions:

  • Java Database Connectivity (JDBC) data source configuration, usage, and dependency injection.
  • Bean validation
    To use bean validation with the embeddable EJB container, the javax.validation classes must exist in the class path. That can be done in one of two ways:
    • Include the JPA thin client that is located in the directory ${WAS_INSTALL_ROOT}\runtimes\com.ibm.ws.jpa.thinclient_8.0.0.jar in the class path. See the topic, Running an embeddable container, and the information about JPA, for more information.
    • Include a third party bean validation provider Java archive (JAR) file in the class path of the embeddable EJB container run time.



Related tasks
Using bean validation in the product
Reference topic Reference topic    

Terms of Use | Feedback

Last updatedLast updated: Sep 19, 2011 6:15:55 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=matt&product=was-express-dist&topic=rejbemconfunctions
File name: rejb_emconfunctions.html