This content has been marked as final.
Show 2 replies
-
1. Re: Error using Local and Remote Interface
kabirkhan Sep 14, 2004 9:27 AM (in response to hubaer)Do not put remoteexception in the bean class, it is for use by RMI to indicate the something went wrong with the communication, you should not throw it yourself.
So for your Remote I/F:
void mymethod() throws MyException, RemoteException;
Your Local I/F
void mymethod() throws MyException;
Your bean class;
public void mymethod() throws MyException
{
} -
2. Re: Error using Local and Remote Interface
hubaer Sep 14, 2004 11:01 AM (in response to hubaer)Thank you very much,
that solve my problem.