Entry
Java: Distributed computing: Remote method invocation: What is RMI?
Apr 22nd, 2006 12:14
Knud van Eeden,
----------------------------------------------------------------------
--- Knud van Eeden --- 22 April 2021 - 01:02 pm ----------------------
Java: Distributed computing: Remote method invocation: What is RMI?
---
RMI = 'R'emote 'M'ethod 'I'nvocation
---
Remote method invication is a protocol that lets Java objects
communicate with other Java objects, over a distance.
---
This communicating Java objects are thus usually not on the same
computer, but communicate with each other via the local network, or via
the Internet.
---
In the case of Java thus e.g. communication between an applet or an
application on the local client computer, with a servlet on the server
computer.
In between there is a 'middle man' (in this case a software server,
which listens on a port 1099) which e.g. registers the participants
and sends the data traffic through to them.
---
RMI is just a special case of distributed computing, that
is splitting a task between more than one computer.
---
Overview of such distributed computing (client server) systems:
1. CORBA (which can handle objects written in more than one computer
languages on different operating systems)
2. DCOM (which is designed only to work with the Microsoft operating
systems)
3. RMI (which only works with Java objects, and on different operating
systems)
1. RMI over IIOP (an RMI implementation compatible with CORBA)
===
Internet: see also:
---
----------------------------------------------------------------------