• Post Reply Bookmark Topic Watch Topic
  • New Topic

remove() method  RSS feed

 
Gurpreet Sachdeva
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,
I want to know one thing that in the entity beans we define ejbRemove() method in the bean class and do not define corresponding remove() method in Home or Remote interface.Then how is it possible that we can call remove() using the Remote interface's object at client side.I mean the Remote interface does not have any remove() method defined in it then why it is not giving me error.
Thanks
Gurpreet Sachdeva
 
Shiv Sidhaarth
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
remove() method is already declared in EJBHome and EJBObject interface. Implementation for those methods will be created by the container itself. Thats why it is not giving the error.
Sankar
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!