CISC 370 Lecture Notes for Class No. 24 May 4, 2000

Course Home Prev Lect Next Lect Example Progs Exercise Solns
CoreJava Progs
Documentation
Gen'l Docs Java 2 APIs Java Glossary Term Proj Info

Assignment

Reading:
Horstmann & Cornell,
Exercises:

None

Today's Lecture Topics

  1. Review of steps for preparing code for RMI uses

  2. Review of steps for compiling the code and creating the stubs with the RMI compiler, rmic -v1.2

  3. Review of running an RMI application

  4. A catalog example , a slightly more realistic example of RMI use

    In this example, the server sets up a course catalog object (that is, initializes the catalog) and registers it as a remote object with the rmi registry. There are two clients: (1) a customer client that contacts the object to retrieve information about the courses and (2) a maintainer client that updates the catalog information by adding, deleting courses, etc. The latter client needs to be authenicated, via a PIN or other ID mechanism, before being allowed to alter the server data base, but this has not yet been added to the code.

Back to the CISC 370 homepage.

This page has been accessed times since 6 May 2000.

Corrections, suggestions and comments to Bob Caviness

Copyright 2000 B. F. Caviness