Awesome
Simple multithreaded TCP server
Server is implemented in Java
, clients in Python
and Groovy
. It is one of the homeworks for Distributed Systems course in University of Tartu.
Requirements
Running all components require that following software (*) is installed on target computers.
- Java (1.7)
- Maven (3.2.3)
- Python (2.7)
- Groovy (2.3.6)
(*) tested with mentioned versions. May not work with lower versions.
Build manual
- Run the server (Java)
- Go to "server-java" directory
- Execute command ->
mvn install exec:java -Dexec.mainClass="ee.ut.ds.TCPServer"
- Run first client (Python)
- Go to "client-python" directory
- Execute script script ->
python2.7 client.py
- Run second client (Groovy)
- Go to "client-groovy" directory
- Execute script ->
groovy client.groovy