Skip to content

This repository contains a simple example of RMI in Java.

License

Notifications You must be signed in to change notification settings

backjoao88/java-rmi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java RMI Example

This repository contains a simple example of RMI in Java.

Compiling and Running on Linux

Java Version: 13.0.2

This commands must be executed inside ./java-rmi/ folder on the command prompt.

Compile the Registery Class (handle method requests) with the following command:

javac -d outputs phone-server-rmi/*.java

Inside outputs folder, run the registery class with the following command:

java Registery

Compile the Client Class (make method request to the server) with the following command:

javac -d outputs phone-client-rmi/*.java

Inside outputs folder, run the client class with the following command:

java PhoneBookClient

About

This repository contains a simple example of RMI in Java.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages