Hi, Can anyone please tell me how stateful session bean keeps track of session for a particular client ? Regards Nayan.
Joined: Jul 24, 2002
The container assigns an identity to the session bean instance when it is created and that identity is set in the client's remote stub so it comes across with each method call. The container then can look up the right bean instance to use for that call (and activate it if it has been passivated, etc).