Adding, Deleting, and Editing EJB Methods
Once an EJB has been added to your project, you can add, delete, or edit
the methods in it. To add methods, you use the Methods page of the EJB
class editor. This ensures that changes are synchronized with the remote
and home interfaces.
To add methods:
-
In the System Navigator, right-click an EJB node and choose
EJB Module Editor.
-
Click the Methods tab.
-
Select a Method Category.
-
Click the Add button. The Method Details
dialog box appears.
-
Add or edit the method properties as necessary. When you're finished,
click OK.
To delete methods:
-
In the System Navigator, right-click an EJB node and choose
EJB Module Editor.
-
Click the Methods tab.
-
Select a Method Category.
-
Select a method from the list
-
Click Delete.
To edit methods:
-
In the System Navigator, right-click an EJB node and choose
EJB Module Editor.
-
Click the Methods tab.
-
Select a Method Category.
-
Select a method from the list.
-
Select the method in the list and edit the properties below.
For context-sensitve help, click the Help
button on the EJB Class Editor or press the F1 key.
Related topics
Creating a Diagram of
Enterprise JavaBeans
Modifying
EJBs with the EJB Class Editor
Using EJB Finders
Copyright © 1997, 2004, Oracle.
All rights reserved.