Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic