Hey all.
I am now learning RMI and I have some questions about the exceptions.
as you know, each method in server implementation should be declared to throw RemoteException.
now, if RemoteException is thrown, what should I do at :
- the server side ?
- the client side ?
I thinking to log the exception at the server side and then rethrow it
to the client, right ?
another question please :
should I include the stub file in the client jar file (I mean, the client
might be a swing application, so double clicking on it will launch the app).
if yes, should I do something special in the client jar (like to include this stub in the jar's classpath attribute) ?
thanks
alot.