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