CS 4448 - Fall 1998
Object-Oriented Programming and Design
Talk 12.4
by
Tony R. Martinez

JAVA REMOTE METHOD INVOCATION-DISTRIBUTED COMPUTING FOR JAVA
by
JAVA.SUN.COM
- Introduction
Java Remote Method Invocation(RMI).
- Allows you to write distributed objects in Java.
- Embraces the "Write Once, Run Anywhere" model.
- Brings safety and portability to distributed computing.
- Connects to legacy systems via JNI and JDBC.
- Advantages
Java RMI is a simple abstraction for programming distributed systems
having the following advantages:
- Object Oriented.
- passes full objects as arguments and return values
- no extra code
- Mobile Behavior.
- move behavior: client-server, server-client
- Design Patterns.
- full power of of OO methodology:polymorphism
- Security.
- RMI uses Java's built in security mechanisms
- Easy to Write/Easy to use.
- rapid prototyping and deployment
- Connects To Existing/Legacy Systems.
- Write Once, Run Anywhere.
- 100% portable to any Java Virtual Machine
- Distributed Garbage Collection.
- feature of remote server objects
- Parallel Computing.
- multi-threaded, servers can exploit Java threads
- The Java Distributed Computing Solution.
- core Java platform starting with JDK 1.1
- all Java systems talk the same public protocol
- no protocol translation overhead
- RMI ARCHITECTURE
Four Layer Model
- Layer I - Application Layer
- Layer II - Proxy Layer
- Layer III - Remote Reference Layer
- Layer IV - Transport Layer
- SUMMARY
- RMI provides a solid platform for truly object-oriented computing
- RMI connects to Existing/Legacy systems
- Advantages of Java-Java
- no porting, low maintenance, security
Copyright © University of Colorado. All rights reserved.
Revised: November 2, 1998