• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Session maintain when using EJB end point

 
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks cheenu
When I get time I will go through EJB books
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic