O'Reilly logo

PURE Java™ 2 by Kenneth Litwak

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

java.rmi.activation Class Details

Class Activatable

publicabstract class Activatable
                          extends RemoteServer

The Activatable class is the abstract base class you need to subclass to define a class that can have an instance remotely activated (that is, instantiated). The role of Activatable for a remote object is similar in this regard to the role of UnicastRemoteObject for a remote object. Here is a code snippet to show this class being used as a superclass:

public class ActivatableBook extends Activatable
                               implements Borrowable
    {
     // Define class here.
    }

You would make a class that extends Activatable, as opposed to UnicastRemoteObject, if it ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required