• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is Stateless Session Bean, a misnormer?

 
Kalyana Sundaram
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Session means maintaining the conversational state between the method calls. If thats the case, why are the SessionBeans classified as Stateful and Stateless?

Java Geeks, please help me understand
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Session means maintaining the conversational state between the method calls

That's true in the web world, but I guess that in the EJB world it means "doing something". Like in "rehearsal session"
 
Kalyana Sundaram
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would really appreciate, if you throw some light on those subtle differences that you see between the web and EJB worlds
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that the difference lies in the context of the word "session", according to the EJB spec, and to the servlets spec.
In the servlets spec, session="place to put something in". In the EJB spec, session="place to do something".
That's the way I see it, may be wrong
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's something better than my suppositions at the following page :
http://www.jguru.com/faq/view.jsp?EID=1082544
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic