Currently, the activatable object registered in rmid is activated on demand. How can I activate it without waiting for the first RMI call?
Created Feb 7, 2001
Edward Harned
The activatable object is activated on demand by default. You can have it activated when the activation daemon starts by setting the restart boolean to true in the Activation Description. (see the javadoc for the full details)
Set up your java.rmi.activation.ActivationDesc with the following constructor:
public ActivationDesc(String className,
String location,
MarshalledObject data,
boolean restart)