Generate Enterprise JavaBeans Interfaces dialog box

This is a feature of JBuilder Enterprise.

Generates the required home and remote interfaces for your Enterprise JavaBeans. It also allows you to modify an EJB's DeploymentDescriptor, enivornment properties, and ControlDescriptor.

The dialog box contains four pages: Methods, DeploymentDescriptor, Environment Properties, and ControlDescriptor.

Methods page

The Methods page lists the business methods you added to the EJB and gives you the opportunity to specify which ones you want reflected in the remote interface.

To specify the methods to expose, check the check box next to the method name of those methods you want exposed.

DeploymentDescriptor page

The DeploymentDescriptor page allows you to set various fields of either a SessionDescriptor (for session beans) or an EntityDescriptor (for entity beans). The fields on the page vary depending on whether the bean is a session or entity bean.

For a session bean, the following fields appear:

For an entity bean, the following fields appear:

To find the type of information to enter in these fields, see the Enterprise JavaBeans specification on the JavaSoft Web site at http://java.sun.com/products/ejb/docs.html.

Environment Properties page

If an EJB depends on certain environment properties, enter them on the Environment Properties page.

To add a property,

  1. Click the Add Entry button once for each property.
  2. Change the Key to the property name you want to use.
  3. Change the Value to the default value you want the proeprty to have.

ControlDescriptor page

The ControlDescriptor page lets you modify the default controlDescriptor for your EJB.

To set the Isolation Level, select one of the settings from the Isolation Level drop-down list. These are your options:

These isolation levels correspond to the JDBC isolation levels.

To set the Transaction Attribute, select one of the settings from the Transaction Attribute drop-down list. These are your options:

The transaction attribute tells the EJB container how to manage transaction scopes before and after the execution of an EJB method.

For more information about control descriptors and the meanings of the isolation levels and transaction attributes, read the Enterprise JavaBeans specification at the JavaSoft Web site: http://java.sun.com/products/ejb/docs.html.