Name

EJBLocalObject

Synopsis

The base class for local client interfaces for EJBs. Added as of EJB 2.0.

public interface EJBLocalObject {
// Public Instance Methods
   public abstract EJBLocalHome getEJBLocalHome(
        ) throws EJBException;  
   public abstract Object getPrimaryKey(
        ) throws EJBException;  
   public abstract boolean isIdentical(
        EJBLocalObject obj) throws EJBException;  
   public abstract void remove(
        ) throws RemoveException, EJBException;  
}

Passed To

EJBLocalObject.isIdentical()

Returned By

EntityContext.getEJBLocalObject(), SessionContext.getEJBLocalObject()

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.