Saturday, January 21, 2012

JDev/ADF sample - How to Access Session Scope in ADF BC

  • How to Access Session Scope in ADF BC. Often we need to access environment variables across all layers of ADF (Model and View-Controller). Usually we store environment variables in session scope, this makes them accessible for the duration of user session. Its common practice to retrieve values from session scope in View-Controller layer. However, is not so common to access session scope from ADF BC. Somehow there is such preconception, that its not possible to access session scope variables from ADF BC. But its possible (no need to add JSF libraries) and I will explain in this short post how to do this.
    Download - SecurityFormLogin_v2.zip

No comments: