• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJBObject Interface

 
Sanju Thomas
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

Unlike other iterfaces , why it is not necessory to implement

public abstract javax.ejb.EJBHome getEJBHome()
throws java/rmi/RemoteException
public abstract javax.ejb.Handle getHandle()
throws java/rmi/RemoteException
public abstract java.lang.Object getPrimaryKey()
throws java/rmi/RemoteException
public abstract boolean isIdentical(javax.ejb.EJBObject)
throws java/rmi/RemoteException
public abstract void remove()
throws java/rmi/RemoteException, javax/ejb/RemoveException

method in our Remote class.
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't actually implement this interface, you just extend it to creat your component interface. The container will typically end up implementing your component interface that will handle all the network issues and so forth. So, it's really just for the container ... if that makes sense.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!