When the client makes its second call to the stateful session bean, how does that bean know it is co
Aalok Singh
Greenhorn
Joined: May 27, 2010
Posts: 14
posted
0
Hello Ranchers,
Exactly how is the state retained from client to application server?
In other words: when the client makes its second call to the stateful session bean, how does that bean know it is coming from that same specific client?
Here what is client... servlet or logged in user..?
The "session" is maintained in the proxy that's returned to the code which either does the lookup of the bean or gets the bean via injection. As long as you use the same proxy instance, the session info is retained and is available to the server to identify it to a session state.
Here what is client... servlet or logged in user..?