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 About stateful beans 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 "About stateful beans" Watch "About stateful beans" New topic
Author

About stateful beans

Tang Yue
Ranch Hand

Joined: Nov 11, 2008
Posts: 40
I've just read chapter 3 of EJB in action. I wonder how the EJB container keeps track of client identities.

If a servlet uses a stateful bean with dependency injection, how does the EJB container know which http session the request belongs to?

What if the end-user disables cookies and the servlet doesn't use url-rewriting?


Houston Rockets go go go!
Tang Yue
Ranch Hand

Joined: Nov 11, 2008
Posts: 40
Oh!I find that the question is addressed in chapter 12.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: About stateful beans