https://github.com/atul-anand-jha/remote-method-invocation
RMI implementation in JAVA
https://github.com/atul-anand-jha/remote-method-invocation
Last synced: about 2 months ago
JSON representation
RMI implementation in JAVA
- Host: GitHub
- URL: https://github.com/atul-anand-jha/remote-method-invocation
- Owner: Atul-Anand-Jha
- License: lgpl-3.0
- Created: 2018-04-28T10:29:58.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-10T20:36:29.000Z (over 6 years ago)
- Last Synced: 2025-01-19T06:46:54.788Z (3 months ago)
- Language: Java
- Size: 29.3 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Remote-Method-Invocation
**RMI** stands for **Remote Method Invocation**. It is a mechanism that allows an object residing in one system **(JVM)** to access/invoke an object running on another JVM. RMI is used to build **distributed** applications; it provides remote communication between Java programs.
# RMI Protocol
Java Remote Method Protocol or **JRMP** is the Java technology-specific protocol for looking up and referencing remote objects. It is a wire level protocol running at the level under Java remote method invocation **(RMI)** and over **TCP/IP**# Note:
This is a simple RMI implementation program to find sum of two numbers.Source code and supporting files are given in src folder.
Screenshots given in screenshot folder.
# Steps to execute this application ( on command Line).
>> step 1
```
javac RemoteInterface.java
javac ServerImplements.java```
>> step 2
```
rmic ServerImplements
this step creates stub/skeleton```
>> step3
```
javac Server.java
javac client.java```
>> step 4
open two more command prompts by writing 'start' twice.
>> step 5
on first console:
```
rmiregistry```
>> step 6
on Second console:
```
java Server```
>> step 7
on third console:```
java client```
**for local PC:**
USe loopaddress/LocalHost Address;;;;**:-)**
# Screenshots:
.png)
.png)