Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic