Implementing the Session Facade Pattern
The session facade pattern contains and centralizes complex interactions
between lower-level EJBs (often entity beans). It provides a single
interface for the business services of your application.
To implement the session facade pattern using the modeling tools:
-
Create a session bean, if
you have not already done so.
-
Create a local reference between the beans:
-
If you are using the modeling tools, select
EJB Local Reference in the Component Palette and click and
drag from one bean to another (often from the session bean to the
entity bean). For more information, see
Modeling a Reference Between Beans.
-
If you are using the EJB Module editor, double click on an EJB in
the Navigator to open the EJB Module Editor and select
EJB Local References. For additional help, click the
Help button or press F1.
Related topics
Implementing Business Logic
Creating Oracle ADF Data Controls for EJB Components
Developing Enterprise JavaBean Applications
Copyright © 1997, 2004, Oracle.
All rights reserved.