Stateful session bean

 

In contrast, a stateful session bean is used precisely to capture state information that must be shared across multiple consecutive client requests that are part of one logical sequence of operations. The client must take special care to ensure that it is always accessing the same instance of the stateful session bean, by obtaining and keeping an EJB object reference to that bean. At the present time, WebSphere supports the distribution of stateful session bean homes among multiple appservers, but not the distribution of a specific instance. Each instance of a particular stateful session bean exists in only one application server, and can only be accessed by directing requests to that particular application server (of course, different instances of the same type of stateful session bean, used by different clients, may be spread among multiple servers). The various load-distribution techniques available in WebSphere make special provisions to support this characteristic of stateful session beans.

  Prev | Home | Next

 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.