EJB Local References Property Editor
 |
Note that this feature might not be included in
your version of the IDE. If it is not available, you can edit the deployment
descriptor (web.xml) file using the editor of your choice.
For more information, see Java Servlet 2.3 Specification available
at http://java.sun.com/products/servlet . |
Use the EJB Local References property editor to declare a reference to the
local home of an enterprise bean. Each entry of this property corresponds to
an <ejb-local-ref>
element in the web module's deployment
descriptor.
To display the EJB Local Reference property editor:
- Click the References pane of the web.xml property sheet.
- Click the EJB Local References value field to activate the ellipsis button
(...), then click the Ellipsis button.
To declare an EJB Local Reference:
- In the EJB Local References property editor, click Add.
- In the Add EJB Local Reference dialog box, supply:
- A Reference Name
- An optional description
- The Referenced EJB Name to be used in the code of the web module that
is referencing the EJB
- The Type of the referenced EJB
- The local interface of the referenced EJB
- The local home of the referenced EJB
- Click OK. The new EJB Local Reference appears in the list in the EJB Local
References property editor. To edit a reference, select it in the list, then
choose Edit. To delete a reference, select it in the list, then choose Remove.
- To dismiss the EJB Local References property editor, click OK.
Legal Notices