JesusGonzalezA / Donations-JavaRMI

UGR project. Client-Server using Java RMI

Repository from Github https://github.comJesusGonzalezA/Donations-JavaRMIRepository from Github https://github.comJesusGonzalezA/Donations-JavaRMI

Donations-JavaRMI

UGR project. Client-Server using Java RMI

Description

This is a project using Java RMI. A server is compound by replicas. They can interact with each other in order to maintein the data updated. The client can ask a replica to register, donate an amount of money, see the information of every replica, see the total amount donated by the client, the number of donations made by the client and the total amount donated in the server. A client can only donate in the replica where they had been registered. I used Java RMI to achieve the communication between the replicas and the client-server.

Documentation

See here

Compilation

javac *.java

Execution

Client

 java -cp . -Djava.rmi.server.hostname=localhost -Djava.security.policy=server.policy -Djava.rmi.server.codebase=file:/. AppClient

Server

 java -cp . -Djava.rmi.server.codebase=file:/. -Djava.rmi.server.hostname=localhost -Djava.security.policy=server.policy AppServer

About

UGR project. Client-Server using Java RMI


Languages

Language:Java 100.0%