Chapter 5. RMI clients

  • Introduction — Remote failure — Partial failure — Latency — Applets — Exercises

In this chapter

This chapter introduces RMI clients and discusses the issues of remote failure, partial failure and latency. You can find out more about client-side programming in § 10.14 and § 14.12.

Introduction

RMI clients are rather simple things. They barely differ from clients of local objects — i.e. normal self-contained Java programs. RMI clients acquire objects, invoke methods on the objects, use the results, and catch exceptions thrown by the methods. RMI-specific programming only arises when acquiring remote objects from a naming service, and this is really naming-service programming, not RMI programming.

Otherwise, programming an RMI

Get java.rmi: The Remote Method Invocation Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.