Remote Method Invocation
Home > SOA Definitions - Remote Method Invocation
SearchSOA.com Definitions (Powered by WhatIs.com)
EMAIL THIS
LOOK UP TECH TERMS Powered by: WhatIs.com
Search listings for thousands of IT terms:
Browse tech terms alphabetically:
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z #

Remote Method Invocation


Show me everything on Java Web Services

DEFINITION - RMI (Remote Method Invocation) is a way that a programmer, using the Java programming language and development environment, can write object-oriented programming in which objects on different computers can interact in a distributed network. RMI is the Java version of what is generally known as a remote procedure call (RPC), but with the ability to pass one or more objects along with the request. The object can include information that will change the service that is performed in the remote computer. Sun Microsystems, the inventors of Java, calls this "moving behavior." For example, when a user at a remote computer fills out an expense account, the Java program interacting with the user could communicate, using RMI, with a Java program in another computer that always had the latest policy about expense reporting. In reply, that program would send back an object and associated method information that would enable the remote computer program to screen the user's expense account data in a way that was consistent with the latest policy. The user and the company both would save time by catching mistakes early. Whenever the company policy changed, it would require a change to a program in only one computer.

Sun calls its object parameter-passing mechanism object serialization. An RMI request is a request to invoke the method of a remote object. The request has the same syntax as a request to invoke an object method in the same (local) computer. In general, RMI is designed to preserve the object model and its advantages across a network.

RMI is implemented as three layers:

  • A stub program in the client side of the client/server relationship, and a corresponding skeleton at the server end. The stub appears to the calling program to be the program being called for a service. (Sun uses the term proxy as a synonym for stub.)
  • A Remote Reference Layer that can behave differently depending on the parameters passed by the calling program. For example, this layer can determine whether the request is to call a single remote service or multiple remote programs as in a multicast.
  • A Transport Connection Layer, which sets up and manages the request.
A single request travels down through the layers on one computer and up through the layers at the other end.

RMI is supplied as part of Sun Microsystem's Java Development Kit (JDK).

Learn more about Java Web Services
JavaOne: JBoss on SOA middleware, Java EE and data services: Is SOA middleware that different from traditional middleware? At JavaOne, Red Hat's Craig Muzilla ponders that and the future of Java EE and data services.
Java One: Mule architect looks to bring REST to SOA: In a conversation at JavaOne, MuleSource's Dan Diephouse, talks about his work on Mule Galaxy, the REST-based open source registry/repository that is going GA later this month.
Mule architect sees REST with Atom rising, UDDI fading: Dan Diephouse, the creator of XFire and software architect at MuleSource Inc., discusses the advantages in using REST and the Atom Publishing Protocol.
Oracle links SOA, data services, BI and BAM: When it comes to incorporating data services, business intelligence (BI), and business activity monitoring (BAM), Oracle has not lost sight of its database roots.
Eclipse, Sun and Oracle team up on persistence API: The surprise announcement from EclipseCon, is Sun Microsystems. selecting the Oracle led EclipseLink project as the reference implementation for the Java Persistence API 2.0.
JavaOne news: A collection of SOA and Web services news related articles from the JavaOne conference held in San Francisco.
2006 JavaOne coverage: A compilation of stories written about the JavaOne conference held in San Francisco this past May.
Chapter of the week: Security and Ajax: This chapter, excerpted from Ajax in Action, discusses security-related concerns that have particular implications for Ajax.
Chapter of the week: Working with Beehive Web services and JSR 181: This chapter, excerpted from Pro Apache Beehive, explores the Web service capabilities that are a part of Apache Beehive. You'll learn about JSR 181, Web Services Metadata for the Java ...
Decision time: .NET or J2EE?: How do .NET and J2EE stack up against one another? That depends on who you ask. We've compiled resources from both sides of the fence to help you decide for yourself.

CONTRIBUTORS: Cesar Flores, Myles Kelman, and Avner Strauss
LAST UPDATED: 04 Mar 2003

Do you have something to add to this definition? Let us know.
Send your comments to techterms@whatis.com

More resources from around the web:
- Sun Microsystems has a white paper about RMI.
- Getting Started using RMI from Sun Microsystems provides a brief step-by-step walkthrough.
- The specification for RMI provides more details.
- TechMetrix Research offers a well-illustrated white paper, Intranet Architectures and Performances Report , that compares RMI, IIOP, DCOM, and HTTP from a network bandwidth point-of-view.





FILE EXTENSION AND FILE FORMAT LIST
File Extension and File Format List:
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z #


RELATED CONTENT
Video: Author says Enterprise JavaBeans is here to stay
We spoke with Reza Rahman, author of EJB 3 in Action, about the future of Enterprise JavaBeans. Watch this interview at the SearchSOA.com video...
Languages like F# may replace Java, says Ted Neward
At the Microsoft Patterns & Practices Summit in Seattle early in October, programming guru Ted Neward gave a talk on how "the next five years will be...
Mobile development growing in prominence according to survey

According to the most recent Java trends survey at TheServerSide.com, mobile development is continuing its steady upward march on developers' minds...

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
EmbeddedJava  (SearchSOA.com)
Java Card  (SearchSOA.com)




Remote Method Invocation Research - White Paper Library
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2001 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts