aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Is Stateless Session Bean, a misnormer? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Is Stateless Session Bean, a misnormer?" Watch "Is Stateless Session Bean, a misnormer?" New topic
Author

Is Stateless Session Bean, a misnormer?

Kalyana Sundaram
Ranch Hand

Joined: Mar 18, 2005
Posts: 94
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


Only those who will risk going too far can possibly find out how far one can go !!!
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

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"


[My Blog]
All roads lead to JavaRanch
Kalyana Sundaram
Ranch Hand

Joined: Mar 18, 2005
Posts: 94
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

Joined: Nov 24, 2005
Posts: 14688
    
  16

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

Joined: Nov 24, 2005
Posts: 14688
    
  16

There's something better than my suppositions at the following page :
http://www.jguru.com/faq/view.jsp?EID=1082544
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is Stateless Session Bean, a misnormer?