Deployment Descriptor Visual Editor: EJB

See Also

The EJB tab in the glassfish-ejb-jar.xml visual editor enables you to configure platform-specific descriptor settings for entity beans when your target server is the GlassFish Server.

You get to this tab by double-clicking the glassfish-ejb-jar.xml file under your project's Configuration Files node in the Projects window and clicking the EJB tab in the visual editor.

The EJB tab does not contain nodes by default because the EJBs in your project by default do not have any properties. If any configuration information for an enterprise bean is not specified in the glassfish-ejb-jar.xml file, it defaults to a corresponding setting in the EJB container if an equivalency exists.

If you want to add descriptor properties to glassfish-ejb-jar.xml for an EJB in your project, you first need to create an entry for that EJB by clicking Add EJB. When you add an EJB, a node appears in the tab with a default name for the EJB. Expand the EJB node to edit the following EJB properties.

Each EJB node contains the following sections for editing deployment descriptor properties of reference elements. If no reference element exists, you can create new references elements to the descriptor file by selecting the section title and then clicking the button to add a new reference element. When you create a new reference element it is visible as a node under the section. The IDE generates a default reference name.

References

EJB References

Resource References

Resource Environment References

Web Service Clients

Click Add Web Service Reference to add a descriptor properties for a web service. For a description of web service properties, see Deployment Descriptor Visual Editor: Web Service Clients.

Web Service Endpoints

An endpoint identifies the final destination of a service or a message. In the web service context, an endpoint is the URL at which the service can be reached. The fields should automatically be prepopulated with entries corresponding to the ports defined for this service in webservices.xml.

For a description of web service endpoint properties, see Deployment Descriptor Visual Editor: Web Service Endpoints.

See Also
glassfish-ejb-jar.xml Visual Editor
         Web Service Descriptor
About Entity Beans
Defining a CMP Field
Configuring EJB Deployment Descriptors

Legal Notices