Calling remove() method in EJB
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Akash_Jain
Posted On:   Tuesday, October 8, 2002 12:21 AM


I have often seen in the examples mentioned in books and site using remove() method for Session Beans.
In the examples, remove() method is called on home interface.
Now the doubt that i have is remove() method with no arguments is not defined in EJBHome interface which the Home object implements.
In EJBHome interface, there are 2 versions of remove().
One takes javax.ejb.Handle as the parameter and the other one takes java.lang.Object as the parameter.
So i am confused as how can we call remove() method Home with no parameters.
Where is the definition of this method, in which interface?


Can anybody help me out?

Re: Calling remove() method in EJB

Posted By:   jaivir_singh  
Posted On:   Tuesday, October 8, 2002 01:44 AM

There is a remove() method in EJBObject too .So you obviously have seen remove being invoked using remote reference but mistook it to be home interface reference.
About | Sitemap | Contact