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:
-
Open your EJB diagram.
If you do not have an EJB diagram, select
File | New and select EJB Diagram
from the Business Tier category.
-
In the Component Palette, click Session Bean.
If the Component
Palette is not visible, from the View
menu, choose Component Palette.
-
Click inside the EJB diagram (note that you do not drag and drop).
To create a session bean using a wizard:
-
In the Navigator, select File | New.
-
In the New Gallery, select Session Bean
from the Business Tier category.
-
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.