File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes How does a Stateful Session bean recognizes it's client ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "How does a Stateful Session bean recognizes it Watch "How does a Stateful Session bean recognizes it New topic
Author

How does a Stateful Session bean recognizes it's client ?

Cosmin Nicolae Vacaroiu
Ranch Hand

Joined: Feb 10, 2011
Posts: 53

Hello,

I was interested in how does a Stateful Session bean recognizes the person who calls it.
In Servlet I know that the Session recognizes the client either by cookies or URL rewriting (or SSL sessions).
In succeeding calls from the person's browser to the Servlet he doesn't get the same thread (so I think the Stateful Session bean isn't linked with it by a thread).
I hope my question is clear.

Thanks


SCJP 6 (93%), SQL Expert 11g (95%), SCWCD 6 (84%), OCE-EJBD 6 (98%), OCE-JPAD 6 (93%)
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How does a Stateful Session bean recognizes it's client ?