Java Technology Home Page
A-Z Index

Java Developer Connection(SM)
Online Training

Downloads, APIs, Documentation
Java Developer Connection
Tutorials, Tech Articles, Training
Online Support
Community Discussion
News & Events from Everywhere
Products from Everywhere
How Java Technology is Used Worldwide
 

Serializing Remote Objects: Client


by jGuru

[Exercise | API Docs | Short Course| Exercises]

Help is available for each task.



    Task 1

    Move Stub files from the Server subdirectory.


    Move the following classes into the Client subdirectory:

    LocalModel.class
    RemoteModelMgrImpl_Stub.class
    RemoteModelImpl_Stub.class
    RemoteModelRef.class
    RemoteModelMgr.class

    Task 2

    Compile all of the class files for the client.


    In a separate DOS console, go to the Client subdirectory for this exercise. Compile all of the java files with the command:

    javac *.java

    This will compile all of the client classes.

    Task 3

    Run the RMI client program.


    Use the java program to run the server

    java LocalRemoteClient

Copyright 1996-2000 jGuru.com. All Rights Reserved.


[ This page was updated: 11-Feb-2000 ]
Products & APIs | Developer Connection | Docs & Training | Online Support
Community Discussion | Industry News | Solutions Marketplace | Case Studies
Glossary - Applets - Tutorial - Employment - Business & Licensing - Java Store - Java in the Real World
FAQ | Feedback | Map | A-Z Index
For more information on Java technology
and other software from Sun Microsystems, call:
(800) 786-7638
Outside the U.S. and Canada, dial your country's AT&T Direct Access Number first.
Sun Microsystems, Inc.
Copyright © 1995-2000 Sun Microsystems, Inc.
All Rights Reserved. Terms of Use. Privacy Policy.