This is a feature of JBuilder Enterprise.
The EJB DD Editor tab displays the Deployment Descriptor editor. The Deployment Descriptor editor displays the deployment descriptor information for the current EJB module you are working on.
To display the information for the EJB JAR that will be created when you compile your enterprise beans, double-click the EJB module in the project pane and click the EJB DD Editor tab.
To display the deployment descriptor information for a specific bean, open the EJB module node and double-click one of the beans under the EJB module node. A General panel appears in the Deployment Descriptor editor and several other tabs. Which tabs are present depends on the type of bean you double-clicked.
Use the panels to enter or modify deployment descriptor information.
These are the available panels:
Panel | Description |
---|---|
General | Displays the names of the classes and interfaces for this bean and other basic attributes. The information available depends on whether the bean is a session bean, and entity bean, or a message-driven bean. |
Message Driven Bean | Displays properties that are specific to message-driven beans and specifis how it connects with a Java Message Service (JMS). |
Environment | Lists all the enterprise bean's environment entries. Environment entries allow you to customize the bean's business logic when the bean is assembled or deployed. The environment allows you to customize the bean without accessing or changing the bean's source code. |
EJB References | Lists all the enterprise bean references to the homes of other enterprise beans the bean requires. Use this panel for beans that reference remote beans only. For EJB 2.0 beans that reference local beans, use Local References panel. |
Resource References | Lists all the enterprise bean's resource factory references. This enables the application assembler and/or the bean deployer to locate all references used by the enterprise bean. Each entity bean with container-managed persistence must have a resource reference. |
Security Role References | Lists all the enterprise bean's references to security roles. The panel links security role references used by the bean developer to specific security roles defined by the application assembler or deployer. |
Properties | Used to specify property settings that apply to Borland application servers only. |
Security Identity | Allows you to specify whether you want a security identify to be used when the methods of the bean are executed. |
EJB Local References | Lists all the enterprise bean references to the home interfaces of other enterprise beans the bean requires. Use this panel for EJB 2.0 beans that reference local beans only. For beans that reference remote beans, use the EJB References panel. |
Resource Env Refs | Let's you specify a reference to an external resource. It is available only for EJB 2.0 components. |
Server-specific properties | Display properties that apply only to the named application server. |
WebLogic 6.x Transaction Isolation panel | If your target application server is the WebLogic Server 6.x, a WebLogic 6.x Transaction Isolation panel is available to you to set the transaction isolation policy for methods. |
To display information about container transactions, expand the bean node under the EJB module node and double-click the Container Transactions node. These panels appear:
Panel | Description |
---|---|
Container Transactions | Displays the names of the classes and interfaces for this bean and other basic attributes. The information available depends on whether the bean is a session bean, and entity bean, or a message-driven bean. |
WebLogic 6.x Transaction Isolation panel | If your target application server is the WebLogic Server 6.x, a WebLogic 6.x Transaction Isolation panel is available to you to set the transaction isolation policy for methods. |
To display information about method permissions, expand the bean node under the EJB module node in the project pane and double-click the Method Permissions node. This panel appears:
Panel | Description |
---|---|
Method Permissions | Displays the assigned method permissions and allows you to add new ones. |
To display information about data sources, expand the JDBC 1 Datasources node and double-click on the data source it contains. These panels appears:
Panel | Description |
---|---|
General | Displays the connection properties to a JDBC data source and allows you to modify them. Lets you set transaction isolation settings and specify JDBC property settings. |
Properties | Displays data source property settings and lets you modify them and add new properties. |
For information about using the Deployment Descriptor editor, see "Using the Deployment Descriptor editor."