aspose file tools
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes difference between stateful session bean and stateless session bean. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Reply Bookmark "difference between stateful session bean and stateless session bean." Watch "difference between stateful session bean and stateless session bean." New topic
Author

difference between stateful session bean and stateless session bean.

Jingyi Wang
Greenhorn

Joined: Jul 30, 2003
Posts: 25
Can anybody tell me why "get a transaction reference, and call methods on it", "access another bean's methods" and "access a resource manager" are not availabe in ejbCreate (), ejbRemove()? ( But, in stateful bean, they are available. )

Thanks
Alex Sharkoff
Ranch Hand

Joined: Apr 11, 2004
Posts: 209
Jingyi,

I think this post has a very good explanation for it:

http://www.coderanch.com/t/158984/java-EJB-SCBCD/certification/questions


Also you could search this forum for "meaningful transaction context or client security context" - should bring up several posts that you might find useful (the one specified above is one of them)



Alex (SCJP 1.4, SCBCD 1.3, SCWCD 1.4, SCJD 1.4)
Jingyi Wang
Greenhorn

Joined: Jul 30, 2003
Posts: 25
thanks.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: difference between stateful session bean and stateless session bean.
 
Similar Threads
how to handle session in EJB
CMT vs BMT
bean things during different methods.
Amusing...
isIdentical