Lecture 2
In this lecture we introduce the concept of (distributed) middlewares and demonstrate the concept using examples in three existing implementations of middlewares - OMG's Common Object Requesting Broker Architecture (CORBA), Sun's Remote Procedure Call (RPC), and Java Remote Method Invocation (RMI). Furthermore we establish a terminology for distributed middlewares and discuss general design parameters for middlewares and some desirable middleware features.
The outline for the lecture is as follows:
- Middlewares in general
- Java Remote Method Invocation (RMI)
- The Common Object Requesting Broker Architecture (CORBA)
- Sun's Remote Procedure Call (RPC)
Download the lecture notes as a PDF. Or, alternatively, download the lecture notes as handouts (6 per page).
Reading
Intensive reading: Chapter 5.1 - 5.5, 20.1 - 20.3
Extensive reading: 5.6, 20.4
Programming: Sun's Java RMI tutorial, Java CORBA IDL
Exercises
Primary set: 5.1, 5.2, 5.4, 5.5
Secondary set: 5.12, 5.13
Code Examples
RMI result service (Java)
(NOTE: partially deprecated, see Sun's Java RMI tutorial)
CORBA result service (Java)
CORBA result service(C++)
RPC file service (C)