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

[Help | API Docs | Short Course| Exercises]

In this exercise you will run the Client side of the Remote Object Serialization project. All of the files have been created for you.

In this exercise you will see how to use the Delegation Pattern to allow a service to migrate. This is covered in the Serializing Remote Objects section of the course notes.

Skeleton Code

Tasks


  1. Move Stub files from the Server subdirectory.

  2. Compile all of the class files for the client.

  3. Run the RMI client program.

Where help exists, the task numbers above are linked to the step-by-step help page.

Solution Source

Demonstration

When the client is run in its DOS console, the output will be:

RemoteModelManager lookup successful
Remote version: Version 1.0
Local Version of the model loaded
LocalModel...Returning: Version 1.0
Local  version: Version 1.0

Exercises

Short Course

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.