Java Theory and Practice: Status Copy of the Web Layer

xiaoxiao2021-03-06  113

Http://www-900.ibm.com/developerWorks/cn/java/J-JTP07294/

There are a variety of ways for cluster web applications

Level: primary

Brian gaetz

(Brian@quiotix.com) Chief Consultant, Quiotix Corp 2004 August

Most web applications with certain importance require maintaining a certain session state, such as the content of the user's shopping cart. How to manage and replication in the cluster server application has a significant impact on the scalability of the application. Many J2SE and J2EE applications store status in httpsession provided by the Servlet API. This month, columnist BRIAN GoETZ analyzes some options for status replication and how to use HttpSession most effectively to provide good scalability and performance. Share your point of view with the author and other readers in this article. (You can click on the top or bottom of the article

Discuss the access forum. )

Regardless of the J2EE or J2SE server applications, it is possible to use Java servlet in some way - may be directly passing a representation like JSP technology, Velocity or WebMacro, may also pass a servlet-based web service. Implement, such as AXIS or GLUE. One of the most important features provided by the Servlet API is Session Management - Certification, failure, and maintenance of user status via HttpSession interface.

转载请注明原文地址:https://www.9cbs.com/read-125559.html

New Post(0)