Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ejbRemove() with CMP !!!!  RSS feed

 
Rohit Kelkar
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For Container managed beans,
How does ejbRemove() method ?
Does the interface defination go in Home or Remote interface?
Also on the bean implementation side, does ejbRemove() have any steps or is it simply a empty mehtod?
Any code snipet for home/remote/bean should help !!!
THanks in advance.
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For a CMP bean you don't need to do anything. The remove() method is already in the Home interface (it's inherited). Deletion from the database upon calling remove() is automatically controlled by the container.
Kyle
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!