Accessing web tier values from business components
Rich enterprise applications that we deal with today call for extensive interactions between client and server layers. Oracle ADF is designed keeping this point in mind. When you work on a business application, you may find many use cases on initializing business components (business service layer) with values from the web tier, such as the logged in user's locale and city. This raises mainly the following two questions:
How does the client pass the web tier parameter values to the business service implementation?
Where can the parameter values be stored for later use?
The following section will help you to find answers to both these questions.
Using ADFContext to access client specific scoped variables
ADF deploys the oracle.adf.share.ADFContext
class to share context between the client and server. ADFContext
exposes APIs for accessing client specific memory scopes such as request, session, page flow, and application
scopes. For example, ADFContext...