Mastering RMI - HelloApplet example

Description

This example shows how to construct a minimal RMI-application. It consists of one remote object, and a simple stand-alone application as client.

The example uses JNDI to access the RMI-registry for naming, and uses an applet as client.

Documentation

Download

The latest version of this example can be downloaded here.

Usage

Follow these steps to install and use the HelloApplet example:

  1. Unzip helloapplet.zip
  2. Execute "java -jar server.jar" in /bin.
  3. Execute "appletviewer http://localhost:8080/index.html" in /bin.

Source and Javadoc

For more information about the classes in this example please see the source files in /src and Javadoc documentation in /docs/api.

Troubleshooting

Solutions to common problems.

Mastering RMI

This is an example from the book "Mastering RMI", by Rickard Öberg, published by John Wiley&Sons.