Hi I have RMI application and now I try to invoke some methods at server from my client. I have following code:
public static void main(final String[] args)
You need the security manager at the server side, not only at the client side.
Without this, the server's RMI engine refuses to load classes from the client, as it can't guarantee that these won't do evil things on the server.
Do you need the RMI class loading at all? Couldn't the server already have the classes which the client tries to send?