© Kishori Sharan, Peter Späth 2021
K. Sharan, P. SpäthMore Java 17 https://doi.org/10.1007/978-1-4842-7135-3_9

9. Java Remote Method Invocation

Kishori Sharan1   and Peter Späth2
Montgomery, AL, USA
Leipzig, Sachsen, Germany
In this chapter, you will learn:
  • What Java Remote Method Invocation (RMI) is and the RMI architecture

  • How to develop and package RMI server and client applications

  • How to start the rmiregistry, RMI server, and client applications

  • How to troubleshoot and debug RMI applications

  • Dynamic class downloading in an RMI application

  • Garbage collections of remote objects in RMI applications

An RMI application contains classes and interfaces that fall into three parts:
  • Server part

  • Client part

  • Common part, which is present in both the client and ...

Get More Java 17: An In-Depth Exploration of the Java Language and Its Features 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.