Chapter 5. Java RMI: Remote Method Invocation

  • Distributed Objects

  • Client

  • Server

  • Callbacks

  • A Java RMI Version of the Featured App

  • New in JDK 1.2

As we were all growing up, there was always a person (a friend, a foe, or a parent) who knew just how to push our "buttons" to get a desired reaction out of us, sometimes good and sometimes bad. The actions we were manipulated into doing were things that were built into our personalities. This idea of pushing someone else's buttons is exactly the idea behind Remote Method Invocation. Think of yourself as an action/reaction server and the things you could be manipulated into as your methods; now think of your antagonist as a client to your server. If the client sends the right messages, it can get the server ...

Get Advanced JAVA Networking 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.