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

Get JavaBeans Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.