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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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.
 
 
subject: About stateful beans
 
Similar Threads
Manage session between servlet and session bean
Stateful session beans - how are sessions handled?
Manage session between servlet and session ejb
How to maintain session info between a servlet and a session bean
Invoking Nonexistent Stateful Session Bean