Results 1 to 8 of 8

Thread: Remote method invocation in Java platform

  1. #1
    Join Date
    Dec 2010
    Posts
    37

    Remote method invocation in Java platform

    I have a worked a lot in java platform or you can say that I have mastered in the Java language when worked in the local Java platform , however there was one more feature that comes up in Java language , that can enable to call a procedure that is located in the remote location and you can import that procedure or method in our code and run it. I will appreciate if you post back your valuable comments on this.

  2. #2
    Join Date
    May 2009
    Posts
    527

    Re: Remote method invocation in Java platform

    Java Remote Method Invocation (Java RMI) allows the developer to generate dispersed Java technology -based to Java technology-based applications, in which the functions of distant Java objects can be called from other Java virtual machines*, perhaps on different machines . RMI makes use of object serialization to assemble and unmarshal parameters and does not shorten types, sustaining true object-oriented polymorphism.

  3. #3
    Join Date
    May 2009
    Posts
    511

    Re: Remote method invocation in Java platform

    The programmers of the actual RMI API generalized the code to some extent to maintain diverse deployments, such as a HTTP transport. In addition, the capability to pass parameters "by value" was adjoined to CORBA in order to hold the RMI interface. Still, the RMI-IIOP and JRMP mechanisms do not have completely similar interfaces.

  4. #4
    Join Date
    Apr 2009
    Posts
    569

    Re: Remote method invocation in Java platform

    The Java Remote Method Invocation or Java RMI, is a Java application programming interface that carry out the object-oriented correspondent of remote procedure calls (RPC).
    • The actual implementation relies on Java Virtual Machine (JVM) class depiction method and it thus only chains making calls from one java based virtual machine to another. The protocol underlying this Java-only deployment is called as Java Remote Method Protocol (JRMP).
    • If you wish to support code working in a non-JVM background, you will have to use the concept of CORBA architecture
    • Usage of the word RMI may indicate exclusively the programming interface or might suggest together the API and JRMP, while the phrase RMI-IIOP (read: RMI over IIOP) indicates the RMI interface pass on most of the functionality to the supporting CORBA deployment .

  5. #5
    Join Date
    May 2009
    Posts
    637

    Re: Remote method invocation in Java platform

    RMI functionality are wrapped in the package java.rmi, whereas most of Sun's implementation is placed in the sun.rmi package. Make a note that with Java edition prior to Java 5.0 programmers had to compile RMI stubs in a distinct compilation step using rmic. edition 5.0 of Java and further than no longer needs this step.Jini propose a more sophisticated edition of RMI in Java. It works similarly but renders more sophisticated searching competence and implementations for distributed object applications.

  6. #6
    Join Date
    May 2009
    Posts
    529

    Re: Remote method invocation in Java platform

    Remote Method Invocation (RMI) expertise, initially introduced in JDK 1.1, raises network programming to a advanced platform . Although RMI is comparatively simple to use, it is a amazingly commanding technology and reveals the average Java programmer to an completely new paradigm the world of distributed object computing. A most important objective for the RMI designers was to permit developers to build up distributed Java programs with the similar syntax and semantic s used for non-distributed codes. To do this, they had to cautiously map how Java classes and objects function in a one Java Virtual Machine (JVM) to a new representation of how classes and objects would function in a distributed (multiple JVM) computing platform .You will be familiar with the RMI architecture from the viewpoint of the distributed or distant Java objects, and discover their differences through the performance of native Java objects. The RMI architecture describes how objects act, how and when exceptions can happen how memory is handled, and how arguments are passed to, and returned from, remote functions.

  7. #7
    Join Date
    May 2009
    Posts
    539

    Re: Remote method invocation in Java platform

    Remote method invocation permits applications to invoke object methods located distantly, sharing resources and giving out load across systems. Contrasting to other systems for remote execution which need that only uncomplicated data types or described structures be passed to and from as an argument or parameter in the methods, RMI permits any Java object type to be used - even if the client or server has not at all familiar with it . Remote Method Invocation (RMI) assist object function invoking methods among Java Virtual Machines (JVMs). JVMs can be located on distinct host terminals - yet one JVM can call methods that are located in another JVM. It also allows methods to pass the object of the remote JVMs and permits dynamic loading . I hope this post would have help you at some extent.

  8. #8
    Join Date
    Apr 2009
    Posts
    488

    Re: Remote method invocation in Java platform

    Consider the following situation :

    • Programmer A codes a service that performs some constructive function. He frequently updates this service, adding innovative features and improving presented ones.
    • Programmer B wants to make use of the service given by Developer A. However, it's not convenient for A to provide B with an update every time.

    Java RMI provides a very simple answer or this issue Since RMI is capable of dynamically loading new classes, Programmer B can allow RMI to deal with updates automatically for him. Programmer A puts the new classes in a web directory, where RMI can obtain the new updates as they are needed.

Similar Threads

  1. Java does not work with opera 11 having amd64 platform
    By Mandarmalika in forum Operating Systems
    Replies: 4
    Last Post: 19-04-2011, 07:50 PM
  2. The eval() method in Java
    By Isabella in forum Software Development
    Replies: 6
    Last Post: 11-08-2010, 05:05 PM
  3. Method replaceAll in java
    By TechGate in forum Software Development
    Replies: 5
    Last Post: 24-02-2010, 01:06 AM
  4. What is method overriding and method overloading in java
    By beelow in forum Software Development
    Replies: 3
    Last Post: 17-11-2009, 08:20 AM
  5. Java: How can I call one method in another method?
    By biohazard 76 in forum Software Development
    Replies: 3
    Last Post: 16-07-2009, 07:12 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,931,985.23350 seconds with 17 queries