File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Javan Li
Ranch Hand
Posts: 84
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When will we use remove() of them??? thanks very much!
[ April 03, 2003: Message edited by: Javan Li ]
 
Chris Mathews
Ranch Hand
Posts: 2712
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic