Chapter 18. Selected further topics

  • Distributed garbage collection—Logging—Debugging—Testing RMI in a single machine—Performance—RMI and JDK versions—Exercises

In this chapter

In this chapter we discuss some selected further topics in RMI: DGC, logging, debugging, performance, efficiency, and the usability and interoperability of RMI under different versions of Java and JDK.

Distributed garbage collection

You really don't need to know much about distributed garbage collection (DGC) in RMI, except that it exists. The interfaces and classes defined in the package java.rmi.dgc are used by the DGC subsystem, not by developers.

Overview

Consider a client which acquires a remote reference to an RMI server. As we saw in §1.5, a remote reference is initially ...

Get java.rmi: The Remote Method Invocation Guide 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.