An EJB container manages the Enterprise Beans contained within it. For each Enterprise Bean, the container is responsible for registering the object, creating and destroying object instances, checking security for the object, managing its active state, and coordinating distributed transactions.
The configuration of the EJB container in earlier releases of JBoss was made through the conf/standardjboss.xml
file. This file is still present in the 5.0 distribution for backward compatibility with EJB 1.x – 2.x specifications. However, if you are focusing on the EJB 3.x release your new configuration file is ejb3-interceptors-aop.xml
, located in the deploy
folder of your server.
This file contains a lot of information, but don't be scared. The configuration file is divided into domains; so you have a domain for each EJB component.
Inside each domain, you have a sequence of actions, which are called interceptors. An interceptor stack is a set of components in which every...