Book Image

Oracle ADF Real World Developer's Guide

By : Jobinesh Purushothaman
Book Image

Oracle ADF Real World Developer's Guide

By: Jobinesh Purushothaman

Overview of this book

Oracle ADF in combination with JDeveloper IDE offers visual and declarative approaches to enterprise application development. This book will teach you to build scalable rich enterprise applications using the ADF Framework, with the help of many real world examples. Oracle ADF is a powerful application framework for building next generation enterprise applications. The book is a practical guide for the ADF framework and discusses how to use Oracle ADF for building rich enterprise applications. "Oracle ADF Real World Developer's Guide" discusses ADF framework in detail. This book contains a lot of real life examples which will help developers to design and develop successful enterprise applications. This book starts off by introducing the development environment and JDeveloper design time features. As you read forward, you will learn to build a full stack enterprise application using ADF. You will learn how to build business services using ADF, enable validation for the data model, declaratively build user interfaces for business service and enable security across application layers.
Table of Contents (20 chapters)
Oracle ADF Real World Developer's Guide
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
Index

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...