Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session maintain when using EJB end point

 
Divya Gehlot
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a doubt every where I read that EJBs cant take part in sessions. why dont understand clearly.
Can any one help me.
 
cheenu Dev
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In Web services point of view the EJB components you can use
Stateless session beans.

Since Stateful session bean cant be used (Why you cant refer to RMH) ""that EJBs cant take part in sessions""
 
Divya Gehlot
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I want to know that only why EJBs (Stateless session beans)cant take part in session?
What I asked same thing you posted again(other way round).
 
cheenu Dev
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi when stateless session beans are employed they have no way to remember the previous history of the client... ie they have no idea about who the client is...
sessions are used to keep track of who the client is and what is his history..
that way ejb cant be used with sessions as they cant remember the session information and they are not requested to.
You can better go thru some EJB books if you need further info Head first EJB will be a superb one.
 
Divya Gehlot
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks cheenu
When I get time I will go through EJB books
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic