RMITutorials

RMITutorials

RMITutorials

RMI Tutorials

       

  1. HelloWorld Using RMI
    This Example describes the way to display Hello message using RMI. By RMI we mean Remote Method Invocation. RMI serves as a basic technique for supporting distributed objects in java.
       
  2. Remote Method Invocation: Introduction
    The Java Developer Connection (JDC) presents a Short Course introducing the Remote Method Invocation API, written by Java Software licensee, jGuru (formerly named the MageLang Institute). A leading provider of Java technology training, jGuru has contributed regularly to the JDC since 1996. Reach out and touch someone. Object-oriented distributed computing is all about communication between objects that live in different virtual machines. Remote Method Invocation (RMI) makes sending a message to an object in Timbuktu as easy as invoking a method on a local object. RMI is 100% Pure Java . And best of all, it's built into the core Java libraries (version 1.1 and higher). This module introduces RMI and covers its strengths and weaknesses as a platform for distributed computing.
          
  3. Remote Method Invocation (RMI)
    Remote Method Invocation (RMI) technology, first introduced in JDK 1.1, elevates network programming to a higher plane. Although RMI is relatively easy to use, it is a remarkably powerful technology and exposes the average Java developer to an entirely new paradigm--the world of distributed object computing. This course provides you with an in-depth introduction to this versatile technology. RMI has evolved considerably since JDK 1.1, and has been significantly upgraded under the Java 2 SDK. Where applicable, the differences between the two releases will be indicated.
      
  4. Java RMI
    This is a brief introduction to Java Remote Method Invocation (RMI). Java RMI is a mechanism that allows one to invoke a method on an object that exists in another address space. The other address space could be on the same machine or a different one. The RMI mechanism is basically an object-oriented RPC mechanism. CORBA is another object-oriented RPC mechanism. CORBA differs from Java RMI in a number of ways. Java RMI has recently been evolving toward becoming more compatible with CORBA. In particular, there is now a form of RMI called RMI/IIOP ("RMI over IIOP") that uses the Internet Inter-ORB Protocol (IIOP) of CORBA as the underlying protocol for RMI communication.
      
  5. Fundamentals of RMI
    This exercise will introduce you to the definition of RMI remote services using Java interfaces. Educational goals like Introduce the UML Description of a banking system and Complete the Java source code for the system interfaces. When a remote method is called, parameters may be passed to the remote object and a return value may be sent back to the calling program. This exercise explores how RMI handles primitive data types, normal local Java objects, and remote RMI objects as parameters and return values.
      
  6. Create an RMI system
    In this article, I lead you through the process of creating a very simple RMI system. (This example was inspired by the RMI demo in Orfali and Harkey's book on CORBA; I thought it was still too complicated, so I've taken the simplification a bit further). I've tried to make this example as bare-bones as possible in order to keep the focus on the steps needed to make an RMI program work. I've also tried to avoid skipping any steps that might throw a first-time user, and have tried to ensure that all steps are performed in the proper order (there are a couple of steps in which order matters). That being said, let's do some RMI.
        
  7. Accelerate your RMI programming
    RMI lets you write distributed Java programs with minimal extra work. Unfortunately, RMI also introduces new opportunities for performance bottlenecks in addition to those typically present in nonnetworked Java programs. You can reduce or eliminate many of these bottlenecks with careful design or with hand optimizations. This article shows how to safely optimize around a number of those bottlenecks.
      
  8. Get smart with proxies and RMI
    RMI enables developers to either get a remote reference to a distributed object, in which all method calls are forwarded to the server object, or get a copy of the remote object and invoke on it locally. Sometimes, however, it is desirable to combine those approaches, so that some method calls execute locally, while others execute on the remote object. This article describes a method to accomplish that in a way that is transparent to the client code.

       
  9. XSOAP Toolkit
    XSOAP (previously known as SoapRMI) is a RMI system based on SOAP that is implemented both in Java and C++ that allows to create and access web services. It has a simple and elegant RMI API that is not limited to Java RMI but is interoperable with Apache SOAP and hopefully any other SOAP 1.1 implementation. XSOAP-Java is using dynamic proxies and does not require stub compiler to generate stubs or skeletons It adds to SOAP a simple remote reference ie. binding of endpoint URL and interface type. And it has support for multiple transports, custom soap serialization styles, XML-Java mappings, using naming services such JNDI/LDAP (tested with OpenLDAP) to act as RMI Registry (and it has its own implementation of RMI Registry as well), access to web services directly without need to use naming service and a lot of other features.
       
  10. WebLogic RMI
    WebLogic RMI, WebLogic's implementation of JavaSoft's Remote Method Invocation (RMI) specification, provides standards-based distributed object computing within WebLogic. WebLogic's implementation of RMI is a drop-in replacement for JavaSoft's RMI that provides scalability and performance, as well as access to all of WebLogic's integrated services, like JDBC, Events, etc. In addition, with release 3.0, WebLogic RMI is fully integrated with WebLogic JNDI. Applications can be partitioned into meaningful name spaces by using either the JNDI API or the Registry interfaces in WebLogic RMI.