Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

RMI usage

Posted on 2000-05-11
2
Medium Priority
?
401 Views
Last Modified: 2013-12-29
what are the circumstances that we go in for the RMI API in java?

can u give me some examples.
0
Comment
Question by:johnwinny
2 Comments
 
LVL 2

Accepted Solution

by:
sjhyam earned 15 total points
ID: 2804205
RMI is used to used to communicate betwwen two remote JVM. It is just like Remote Procedural Call(RPC). In RMI, We can pass/recieve Obejcts  as parameters. It is possible due to serialization of data.

If U want a bulid a Distributed Application in Java , we have to for RMI. Here, U must keep one constraint in mind : i.e., We should have JVM at both the ends. This is known as Distributed Object MOdel (DOM) in Java. It is possible for a remote client to access the server methods and avail any special specail services provided by him. More over RMI is based on 3-tier architecture, where RMI server object implements the business logic. For example, U can write a program for online train/flight resrvation system, in which the server implements the business logic ---Connecting to the data base and allocating the seats for the client. Here, the client accesses the server from a remote place (from a JVM only). We can build similar application using other DOM technologies like:CORBA tec.,

RMI is also used to maintain a seperate connection between two hosts in the NET.
0
 

Author Comment

by:johnwinny
ID: 2804465
Adjusted points from 2 to 5
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Suggested Courses
Course of the Month20 days, 21 hours left to enroll

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question