This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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...
isIdentical
bean things during different methods.
how to handle session in EJB