• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

EJBObject Interface

 
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic