Remote Activation

One of the problems with RMI is that you must start your servers manually. A client can't use a server object until a server program registers the server object with the RMI Registry. The RMI activation framework gives you an alternative way to access server objects, how ever. Using a special setup program, you tell the activation framework how to start your server object.

Now, instead of insuring that your various servers are running, you just make sure that the activation server—rmid—is running.

The activation server takes the place of custom RMI servers. It starts a Java VM and sets up a security policy. This allows you to focus on creating the RMI objects instead of worrying about the server program that creates the RMI ...

Get Special Edition Using Java™ 2 Enterprise Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.