I can connect the remote object (RMI) only when my client object is on the
same machine. As I try to connect on diffirent machine,the "AccessControlException"
is thrown.


The sever side security policy file I used is quite simple:

grant {
permission java.security.AllPermission;
};

What should I do such that I can connect it from diffrent machine...
help me plaese !