Pergunta

I'm really new to Java RMI, and I don't quite understand what it actually does. When a remote method is called, is the method executed on the server, or the client? In other words does RMI utilize the servers resources or is it simply used for access to remote classes and methods which will run client side?

Foi útil?

Solução

Java RMI (Remote Method Invocation) uses client side "stubs" to connect to server side implementation and the real work is done on the Server side.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top