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:

  1. In the System Navigator, right-click an EJB node and choose EJB Module Editor.
  2. Click the Methods tab.
  3. Select a Method Category.
  4. Click the Add button. The Method Details dialog box appears.
  5. Add or edit the method properties as necessary. When you're finished, click OK.

To delete methods:

  1. In the System Navigator, right-click an EJB node and choose EJB Module Editor.
  2. Click the Methods tab.
  3. Select a Method Category.
  4. Select a method from the list
  5. Click Delete.

To edit methods:

  1. In the System Navigator, right-click an EJB node and choose EJB Module Editor.
  2. Click the Methods tab.
  3. Select a Method Category.
  4. Select a method from the list.
  5. 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.