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;
}
{
public IMyInterface getInterface()
throws RemoteException;
}
Here is the
implmentation of the method:
public IMyInterface getInterface()
throws RemoteException
{
return new MyInterfaceImpl();
}
throws RemoteException
{
return new MyInterfaceImpl();
}
Thanks,
Paul