File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 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).
I agree. Here's the link:
subject: Client specific session!!