Has anyone ever returned an interface from an EJB?
 
I get the following error:
com.evermind.server.rmi.OrionRemoteException: Error (de-)serializing object: MyInterfaceImpl
 
 
Here is my Remote Interface:
public interface Test extends EJBObject
{
    public IMyInterface getInterface()
        throws RemoteException;
}
 
Here is the implmentation of the method:
    public IMyInterface getInterface()
        throws RemoteException
    {
        return new MyInterfaceImpl();
    }
 
Thanks,
Paul

Reply via email to