Using a session scope bean to preserve session-wide information
Information stored in the DBMS can be preserved for the duration of the user session by utilizing ADF business components to retrieve it, and a session scope managed bean to preserve it throughout the user session. Using this technique allows us to access session-wide information from any page in our application, without the need to create specific bindings for it in each page.
This recipe demonstrates how to access and preserve session-wide information by implementing the following use case. For each employee authenticated to access the application, its specific information will be maintained by a session-scoped managed bean.
Getting ready
You will need to create a skeleton ...
Get Oracle JDeveloper 11gR2 Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.