What Is Conversational State?

Client/server interaction typically involves multiple request/response roundtrips. A session is a single client's interaction with a server. The session state is client-specific data that is accumulated during the session. This session state is also known as conversational state.

The conversational state can be maintained in the client, the server, or split between them. For example, the contents of the temporary shopping cart can be maintained in the client side or in the server object's instance variables. The division of responsibility is based on factors such as performance, security, and so on.

The use of session beans to maintain client interactions is the standard method in any J2EE application. As their name implies, session beans were designed with this purpose in mind. Services such as security, concurrency, and transactions are provided to session beans by the container.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.221.89.18