C H A P T E R 28 |
HTTP Session Model |
An HTTP Session Model uses the HTTP session as its backing data store. HTTP session model fields map directly to HTTP session attributes. Unlike most other models, the fields of an HTTP session model are merely a passthrough vehicle for the values to the session attributes. In other words, setting the value on a field pushes the value immediately into the session attribute without the need to execute the model to update the actual backing data store. This model has no internal storage it is a facade to the session attributes.
HTTP session model is not required for interaction with the HTTP Session within a Sun ONE Application Framework application. The HTTP session API is completely accessible as it is in any web application. This model provides an avenue for the developer to formally declare session attributes during application design time for use in binding and potentially as an adapter or interceptor to HttpSession.
Copyright © 2003, Sun Microsystems, Inc. All rights reserved.