The Contents of an Enterprise Bean

To develop an enterprise bean, you must provide the following files:

  • Deployment descriptor: An XML file that specifies information about the bean such as its persistence type and transaction attributes. The deploytool utility creates the deployment descriptor when you step through the New Enterprise Bean wizard.

  • Enterprise bean class: Implements the methods defined in the following interfaces.

  • Interfaces: The remote and home interfaces are required for remote access. For local access, the local and local home interfaces are required. For access by Web service clients, the Web service endpoint interface is required. See the section Defining Client Access with Interfaces (page 840). (Please note that these interfaces ...

Get The J2EE™ Tutorial Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.