Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!