This repository holds the assignment for the curricular unit of Paradigms of Distributed Systems, inserted on the plan of studies of Distributed Systems of Computer Engineering Master Degree at University of Minho. As such, with this project, we built trading system between manufacturers and importers, by incorporating several technologies such as Dropwizard,
The final implementation has three distinct servers with different purposes.
- Frontend: Built with Erlang, handles the communication from client to REST catalog and Negotiator
- Catalog - A REST Server built with Java and Dropwizard with the main purpose of storing information about different importers, manufacturers, product and transactions
- Nagotiator - Handles the negotiations of offers between Importers and Manufacturers and vice-versa
- Client - Client application for frontend communication
In order to execute all the servers listed, at the project root directory one must run the following commands
$ make
$ cd exec
$ java -jar nefit-1.0.jar
$ make run-frontend
$ java -jar exec/Broker-1.0.jar 6001 6002
$ java -jar exec/Negotiator-1.0.jar 4001
$ java -jar exec/Negotiator-1.0.jar 4002
$ java -jar exec/Negotiator-1.0.jar 4003
$ java -jar exec/Client-1.0.jar
2019/2020