Summary

RMI gives you a powerful tool in your arsenal of network programming. Rather than open sockets and send formatted data, you can actually call methods on the remote computer. In addition, the data marshalling is done for you in the process as an extra bonus.

If you do any network programming with Java, RMI will become part of your projects, and they'll be easier to code, easier to debug, and more robust as a result.

Get JavaBeans Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.