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: Server


by jGuru

[Exercise | API Docs | Short Course| Exercises]

Help is available for each task.



Task 1

Compile all of the class files for the server.


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

javac *.java

This will compile the server and all of the client classes that will be bootstrap loaded across the network.

Task 2

Create the stub and skeleton files for the remote object implementation.


Use the rmic utility on the implementation class, RemoteModelMgrImpl and the RemoteModelImpl class. rmic RemoteModelMgrImpl rmic RemoteModelImpl

Task 3

Run the RMI server program.


Use the java program to run the server java LocalRemoteServer

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.