Wednesday, May 23, 2012

JDev/ADF sample - Solution for Sharing Global User Data in ADF BC

  • Solution for Sharing Global User Data in ADF BC. This post will describe solution how to share custom user data in ADF BC. There is a way to access HTTP session scope directly from ADF BC - Bad Practice for Session Scope Access in ADF BC, while you can follow this approach in exceptional cases, this is not recommended from enterprise architecture point of view. Mainly because you may face snow ball effect - there will be more and more ADF BC and ADF UI dependency introduced over time and at the end will make system not maintainable. Solution is generic and will cover following requirements:

    1. Custom user data will be initialized for every AM instance automatically
    2. Custom user data will be preserved between passivation/activation requests

    Download - UserDataADFBCSample.zip

No comments: