Beispiel

public interface Example extends javax.ejb.EJBLocalObject {

public EJBLocalHome getEJBLocalHome() throws EJBException;

public Object getPrimaryKey() throws EJBException;

public boolean isIdentical(EJBLocalObject arg0) throws EJBException;

public void remove() throws RemoveException, EJBException;

public void exampleMethod() throws RemoteException;
}

Lösung
Lösen Sie für keine Methode die Ausnahmebedingung 'java.rmi.RemoteException' aus.


public interface Example extends javax.ejb.EJBLocalObject {

public EJBLocalHome getEJBLocalHome() throws EJBException;

public Object getPrimaryKey() throws EJBException;

public boolean isIdentical(EJBLocalObject arg0) throws EJBException;

public void remove() throws RemoveException, EJBException;

public void exampleMethod();
}