Documentation Contents

# Using Activation: Overview

This set of tutorials describes how to use the Java Remote Method Invocation (Java RMI) APIs to implement, to register, and to use activatable objects. Each tutorial presents a different way to implement an activatable object. All tutorials use the same parameterized setup program that registers information about an activatable object with the Java RMI Activation System Daemon (`rmid`).

The tutorials are as follows:

- The `Setup` program

  A parameterized program for registering an activation descriptor for an activatable object with `rmid`, and binding a stub for that activatable object in a registry so that clients can look it up.

- Extending `Activatable`

  An implementation that extends the class `java.rmi.activation.Activatable`, a class whose constructors export a remote object during construction.

- Not Extending `Activatable`

  An implementation that does not extend the class `Activatable`, but instead uses its static methods to export a remote object.

- Using Persistence

  An implementation that, during construction, uses a `MarshalledObject` in an object's activation descriptor to specify a file that contains the object's persistent state.

Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved.
Contact Us