This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Client specific session!!" Watch "Client specific session!!" New topic
Author

Client specific session!!

Nayanjyoti Talukdar
Ranch Hand

Joined: Feb 12, 2002
Posts: 71
Hi,
Can anyone please tell me how stateful session bean keeps track of session for a particular client ?
Regards
Nayan.
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).
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
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