aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes What's different between remove(para) of EJBHome and remove( ) of EJBRemote?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "What Watch "What New topic
Author

What's different between remove(para) of EJBHome and remove( ) of EJBRemote??

Javan Li
Ranch Hand

Joined: Jul 24, 2002
Posts: 84
When will we use remove() of them??? thanks very much!
[ April 03, 2003: Message edited by: Javan Li ]
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
EJBHome.remove() takes a handle or primary key and removes the appropriate bean instance.
EJBObject.remove() removes the current bean instance.
EJBHome.remove() saves you from having to find the appropriate bean instance just to call EJBObject.remove(). On other words, it is a shortcut.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What's different between remove(para) of EJBHome and remove( ) of EJBRemote??
 
Similar Threads
String array Declaration and initialization
JPanel, Remove Objects
* Welcome Mark Masse
how to use 'where' clause
Passing a value from a JSP page to an Action to get some data after processing