O'Reilly logo

Special Edition Using Java™ 2 Enterprise Edition by Mark Wutka

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

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 ...

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