This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
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 Introducing JavaFX 8 Programming this week in the JavaFX 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
I agree. Here's the link:
subject: accessable methods
It's not a secret anymore!