Pregunta

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?

¿Fue útil?

Solución

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 bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top