Web applications

 

+

Search Tips   |   Advanced Search

 

You create a Web module by assembling...

...into a single deployable unit. You can then deploy the Web module as a stand-alone Web application, or combine it with other modules to create J2EE applications.

To allow personalization of Web pages for individual users, activate the Session Manager service to manage HTTP sessions.

A session is a series of requests to a servlet, originating from the same user at the same browser. Managing HTTP sessions allows servlets running in a Web container to keep track of individual users.

For example, a servlet might use sessions to provide "shopping carts" to on-line shoppers. Suppose the servlet is designed to record the items each shopper indicates he or she will purchase from the Web site. It is important that the servlet be able to associate incoming requests with particular shoppers. Otherwise, the servlet might mistakenly add choices of Shopper 1 to the cart of Shopper 2.