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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
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://aspose.com/file-tools
 
subject: difference between stateful session bean and stateless session bean.
 
Similar Threads
CMT vs BMT
Amusing...
bean things during different methods.
isIdentical
how to handle session in EJB