Home arrow Java arrow An Introduction To RMI With Java
JAVA

An Introduction To RMI With Java


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.

Author Info:
By: Neville Mehta
Rating: 4 stars4 stars4 stars4 stars4 stars / 140
June 24, 2002
TABLE OF CONTENTS:
  1. · An Introduction To RMI With Java
  2. · The Concept
  3. · What Do We Have To Code?
  4. · The Coding (Contd.)
  5. · Conclusion

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
An Introduction To RMI With Java
(Page 1 of 5 )

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.
blog comments powered by Disqus
JAVA ARTICLES

- Deploying Multiple Java Applets as One
- Deploying Java Applets
- Understanding Deployment Frameworks
- Database Programming in Java Using JDBC
- Extension Interfaces and SAX
- Entities, Handlers and SAX
- Advanced SAX
- Conversions and Java Print Streams
- Formatters and Java Print Streams
- Java Print Streams
- Wildcards, Arrays, and Generics in Java
- Wildcards and Generic Methods in Java
- Finishing the Project: Java Web Development ...
- Generics and Limitations in Java
- Getting Started with Java Web Development in...

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 4 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials