Page: (Bot) (Prev) (Next)   Class: (Outline) (Assign) (Answer)   Course: (Content)
IT533 - SOFTWARE ARCHITECTURES - CLASS 9
OBJECT ORIENTED MIDDLEWARE

To: (Concept) (Enable) (Advantages) (Technologies)

Object middleware is used to call an operation (implemented by a method) in an object instance (instantiated from a class) that resides in another process. Instead of client and server, there is client and object. This type of middleware is often called an Object Request Broker (ORB).

Concept (Top)

The concept is similiar to the concept used for a remote procedure call. The main difference between a remote procedure call and a remote object call is that there is only one instance of a procedure but there can be many instances of an object. This means that in order to call an operation in a remote object, the caller must first obtain a reference to the object. For example, using procedure calls we might have:

   acct = 12345;
   name = call getName(acct);
   bal = call getBalance(acct);
     ... display
     ... get action (debit by 100)
   call debit(acct,100);

Using remote objects we might have:

   Account accountRef = accountSet.getAccount(12345);
   String name = accountRef.getName();
   Money bal = accountRef.getBalance();
     ... display
     ... get action (debit by 100)
   accountRef.debit(100);

There are four ways to get an object reference:

Enabling a Call (Top)

The process that is used to enable calls to operation is remote objects is basically the same as the process use to enable remote procedure calls. That is, a client stub and server skeleton are used. However, most object middleware implements two ways to use stubs and skeletons:

Advantages (Top)

Object middleware has the following advantages over procedure middleware:

Technologies (Top)

There are three major distributed object technologies:


Page: (Top) (Prev) (Next)   Class: (Outline) (Assign) (Answer)   Course: (Content)

Prepared by David L. March -- Last Revised on May 26, 2003
COPYRIGHT © 2003 BY DAVID L. MARCH