EJB modules

An EJB module is used to assemble one or more enterprise beans into a single deployable unit. An EJB module is stored in a standard Java archive (JAR) file.

An EJB module contains the following:

  • One or more deployable enterprise beans.

  • A deployment descriptor, stored in an XML file. This file declares the contents of the module, defines the structure and external dependencies of the beans in the module, and describes how the beans are to be used at run time.

We can deploy an EJB module as a stand alone application, or combine it with other EJB modules or with Web modules to create a J2EE application. An EJB module is installed and run in an enterprise bean container.


 

See Also


Enterprise beans

 

Related Tasks


Task overview: Using enterprise beans in applications

 

See Also


Enterprise beans: Resources for learning