Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Freddy Wong
Ranch Hand
Posts: 959
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Pradeep Sashidhara
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic