• Post Reply Bookmark Topic Watch Topic
  • New Topic

About stateful beans

 
Tang Yue
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Tang Yue
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh!I find that the question is addressed in chapter 12.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!