O'Reilly logo

JavaBeans Unleashed by Rick Leinecker, Dr. Donald Doherty

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

Creating Server and Client Programs Using RMI

Up to this point, you've been presented with a background explanation of RMI and learned about what's behind it. Now you're going to take some time and create an extremely simple program. It's simple because there are a number of steps to create RMI server and client programs. Before the code gets complicated, you need to thoroughly understand the necessary steps.

There are two programs you'll create—a server and a client program. First, you must create an interface that defines the methods that can be accessed via the remote application. Then, you'll write the server program. Next, the client program will be written. The RMIC program is then used to create the stub and skeleton classes. Finally, ...

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