An implementation based on java.rmi.activation.Activatable. The main method creates an instance and registers it in the activation system and RMI registry. If there is no local registry, a default registry is created.