Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ejbRemove() with CMP !!!!

 
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
 
It will give me the powers of the gods. Not bad for a tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!