K
KDawg44
Hi,
I have to implement an RMI instant messaging application in Java for a
class project. I was given a stub to work with.
In the remote interface there is a method that like this that
registers the client with the server:
void register(RegistrationInfo reg) throws RemoteException;
My question is, where do I put the RegistrationInfo class? I have to
create a RegistrationInfo object on the client side, but then when I
call the remote method, it complains that it doesn't know what a
RegistrationInfo object is. Where do I put this class?
Thanks very much for your help.
I have to implement an RMI instant messaging application in Java for a
class project. I was given a stub to work with.
In the remote interface there is a method that like this that
registers the client with the server:
void register(RegistrationInfo reg) throws RemoteException;
My question is, where do I put the RegistrationInfo class? I have to
create a RegistrationInfo object on the client side, but then when I
call the remote method, it complains that it doesn't know what a
RegistrationInfo object is. Where do I put this class?
Thanks very much for your help.