Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

RMI usage

Posted on 2000-05-11
2
Medium Priority
?
396 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Suggested Courses

610 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