Creating a Session Bean

To create a session bean, you can use the modeling tools or the wizards.

To create a session bean on an EJB diagram:

  1. Open your EJB diagram.
    If you do not have an EJB diagram, select File | New and select EJB Diagram from the Business Tier category.
  2. In the Component Palette, click Session Bean.
    If the Component Palette is not visible, from the View menu, choose Component Palette.
  3. Click inside the EJB diagram (note that you do not drag and drop).

To create a session bean using a wizard:

  1. In the Navigator, select File | New.
  2. In the New Gallery, select Session Bean from the Business Tier category.
  3. Follow the steps in the wizard.

Related topics

Modeling a Reference Between Beans
Implementing the Session Facade Pattern

 

 

 

Copyright © 1997, 2004, Oracle. All rights reserved.