![]() ![]() ![]() |
|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Help is available for each task.
Task 1
Add the
In the file
Create an implementation for the
Add the You can use the following code: public MessageObject getMessageObject() throws RemoteException { return new MessageObject(); } Task 3Compile all of the class files for the server and its remote objects.
Use the javac *.java
Create the
Use the Start the RMI Server in its own DOS console.
Start a new DOS console program.
Change the current directory to the location of your .java files for the server.
Run java RMIServer Start the RMI Client in its own DOS console.
Start a new DOS console program.
Change the current directory to the location of your .java files for the client.
Run java RMIClient Copyright 1996-2000 jGuru.com. All Rights Reserved. |