File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Bean Things You Can Do in ejbRemove() for Entity Beans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Bean Things You Can Do in ejbRemove() for Entity Beans" Watch "Bean Things You Can Do in ejbRemove() for Entity Beans" New topic
Author

Bean Things You Can Do in ejbRemove() for Entity Beans

Freddy Wong
Ranch Hand

Joined: Sep 11, 2006
Posts: 959

Hi,

What are the beans thing that we can do in ejbRemove() for entity beans. I can't find it in HFEJB. Is it the same as ejbPostCreate(), i.e.
Use your EntityContext:
- get a reference to your home
- get a reference to your EJB object
- get your primary key
- get security information about the client
- force the stransaction to rollback
- find out if the transaction has already been set to rollback
Access:
- your special JNDI environment
- another bean's methods
- a resource manager

Thanks.


SCJP 5.0, SCWCD 1.4, SCBCD 1.3, SCDJWS 1.4
My Blog
Pradeep Sashidhara
Greenhorn

Joined: May 21, 2007
Posts: 8
Yes


--------------<br />Pradeep<br />SCBCD 1.3 97%<br />SCWCD 97%<br />SCJP 1.5 93%
 
jQuery in Action, 2nd edition
 
subject: Bean Things You Can Do in ejbRemove() for Entity Beans