File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and Other Java EE Technologies and the fly likes remove() method Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » EJB and Other Java EE Technologies
Reply Bookmark "remove() method" Watch "remove() method" New topic
Author

remove() method

Gurpreet Sachdeva
Ranch Hand

Joined: Feb 20, 2001
Posts: 90
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


Regards<BR>Gurpreet Sachdeva<P>For Mock Exams, FAQ, Exam tips and some useful information about Bitshift operator, inner classes, garbage collection,etc please visit: <A HREF="http://www.go4java.lookscool.com" TARGET=_blank rel="nofollow">http://www.go4java.lookscool.com</A>
Shiv Sidhaarth
Ranch Hand

Joined: Aug 06, 2001
Posts: 116
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
 
IntelliJ Java IDE
 
subject: remove() method
 
Threads others viewed
SCBCD Mock Q's - Batch 2
Home methods
ejbCreate in remote interface?
Chapter 3 - HF Sark study group
Explanation on remove.
developer file tools