Solved

RMI usage

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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
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.
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

705 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