This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Client specific session!!  RSS feed

 
Nayanjyoti Talukdar
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can anyone please tell me how stateful session bean keeps track of session for a particular client ?
Regards
Nayan.
 
Dave Landers
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!