Now I am assuming that you can easily compile the program.

Start the server and client

Starting the Server

c:\Register> start java RegisterServerImpl

or

c:\ Register> java RegisterServerImpl

If the server is successfully started, it will print the messages "Creating server object" and "server is ready".

 

Starting the Client Application

c:\Register> java RegisterClient

If the client application is successfully started and connected to the server, you will see the following:

Figure 5.1

 

 

 

RMI BOOK MAIN PAGE                Top

  
Copyright © 2001 www.universalteacher.com