An Introduction To RMI With Java
(Page 1 of 5 )
Remote Method Invocation (or RMI for short) allows us to execute methods on remote servers. In this article Nevile introduces us to RMI with a simple example and fundamentals in Java.RMI is the acronym for Remote Method Invocation. As the name suggests, it helps you locate and execute methods of remote objects. It's like placing a class on Machine A and calling methods of that class from Machine B as though they were from the same machine. Confused? Well if you are new to the concepts of enterprise programming then it would take you some time to get this concept.
Rest assured however, as I have written this article to ease you into the methodologies and concepts behind RMI. This article will give you more than the facts or RMI. What I mean by this is that after you finish reading this article you will have an actual working demo of RMI on your machine.
I can tell you from my personal experience that although RMI isn’t the only enterprise level solution for accessing objects remotely, it is the easiest solution to implement. RMI is a pure Java solution unlike CORBA where we can have objects from different programming languages interacting. In RMI everything you code will be in JAVA.
Before reading this article I will assume that you know your JAVA basics quite well. You could continue to read on to learn more about RMI, however knowing JAVA would be an added advantage as this article focuses heavily on JAVA coding examples to explain RMI.
Next: The Concept >>
More Java Articles
More By Neville Mehta