Solved

RMI usage

Posted on 2000-05-11
2
369 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 5 total points
Comment Utility
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
Comment Utility
Adjusted points from 2 to 5
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

772 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now