File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes accessable methods Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "accessable methods" Watch "accessable methods" New topic

accessable methods

reubin haz
Ranch Hand

Joined: May 12, 2005
Posts: 287
among these things:
1. get a reference to your home
2. get a reference to you EJB object
3. get security information about the client
4. force a transaction to rollback (CMT)
5. find out if the transaction has already set to rollback (CMT)
6. get a transaction reference and call method on it (BMT)
7. access your special JNDI environment
8. access another bean's methods
9. access a resource manager

which ones can unSetEntityContext() access? Would it be the same as setEntityContext? which is 1 and 7?

[ March 08, 2006: Message edited by: reubin yi ]

reubin haz
Ranch Hand

Joined: May 12, 2005
Posts: 287
i can answer my own question now its the same as setEntityContext(): option 1 and 7
It is sorta covered in the JavaRanch Style Guide.
subject: accessable methods
It's not a secret anymore!