Download
FAQ History |
![]() ![]() ![]() |
API
Search Feedback |
Managed Bean Creation
Another critical function of web applications is proper management of resources. This includes separating the definition of UI component objects from data objects and storing and managing these object instances in the proper scope. Previous releases of JavaServer Faces technology enabled you to create model objects that encapsulated data and business logic separately from UI component objects and store them in a particular scope. This release fully specifies how these objects are created and managed.
This release introduces new APIs for:
- Evaluating an expression that refers to a model object, a model object property, or other primitive or data structure. This is done with the
ValueBinding
API.- Retrieving the object from scope. This is done with the
VariableResolver
API.- Creating an object and storing it in scope if it is not already there. This is done with the default
VariableResolver
, called the Managed Bean Facility, which is configured with the application configuration file, described in the next section.For more information on the Managed Bean Facility, see section Creating Model Objects.
Download
FAQ History |
![]() ![]() ![]() |
API
Search Feedback |
All of the material in The Java(TM) Web Services Tutorial is copyright-protected and may not be published in other works without express written permission from Sun Microsystems.