Building and Deploying EJBs
Building and Deploying EJBs
Name : <filename>
Enterprise-Bean:True
• At the deployment time, the EJB container must read the ejb-jar file, create
implementations for the home and remote interfaces.
• Reads the deployment-descriptor and ensures that the bean has what it wants and
ad the bean’s property settings to the environment so that they’re available to the
bean at runtime.
• The client can use either RMI or CORBA to connect to the EJB
• The client looks up the EJB’s home interface using a naming service (JNDI or
COS)
• Invokes a find() or create() method on the home interface to get a reference to an
EJB object.
• And then uses the EJB object as if it were an ordinary object.