Solved

RMI usage

Posted on 2000-05-11
2
375 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
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Java DateChooser? 3 36
hibernate example issues from command prompt 10 41
runtime exception 2 28
JAVA API design with micro service cloud in mind 1 16
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
This video teaches viewers about errors in exception handling.

776 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