[JBoss-user] [EJB/JBoss] - Re: Error using Local and Remote Interface

2004-09-14 Thread hubaer
Thank you very much, that solve my problem. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848159#3848159 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848159 --

[JBoss-user] [EJB/JBoss] - Re: Error using Local and Remote Interface

2004-09-14 Thread kabkhan
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