This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Client specific session!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Client specific session!!" Watch "Client specific session!!" New topic

Client specific session!!

Nayanjyoti Talukdar
Ranch Hand

Joined: Feb 12, 2002
Posts: 71
Can anyone please tell me how stateful session bean keeps track of session for a particular client ?
Dave Landers
Ranch Hand

Joined: Jul 24, 2002
Posts: 401
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).
Don't get me started about those stupid light bulbs.
subject: Client specific session!!
Similar Threads
TxnRolledbackException instead of RemoteException
Session Management
HttpSession and Cookies
Difference between Cookies and Session in servlets
session ID changes