aspose 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 Spring in Action this week in the Spring 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%
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Bean Things You Can Do in ejbRemove() for Entity Beans