Programs: Distributed Systems
During the Distributed Systems course we had to use various methods of network communication (BSD sockets, RPC (Remote Procedure Call), RMI (Remote Method Invocation), and CORBA) to create sample client-server applications.
- Lab 1.1: socket client & server
- z1client.cpp (7.3 KB) - client in C - sends simple messages to the server
- Z1Server.java (5.5 KB) - server in Java - prints received messages to console
- sr-lab1-1.zip (6.8 KB) - all files
- Lab 1.2: socket client & server
- z2sender.c (1.6 KB) - client in C - sends messages to the server
- z2reader.c (1.4 KB) - client in C - registers at the server and receives messages
- Z2Server.java (4.2 KB) - server in Java - relays the messages
- sr-lab1-2.zip (6.2 KB) - all files
- Lab 2: same task as in 1.2, but uses Sun RPC
- sr-lab2-rpc.zip (14.2 KB) - all files
- Lab 3: note board - a simple chat using Java RMI
- sr-lab3-rmi.zip (84.4 KB) - all files
- Lab 4: note board continued - with some advanced functions added
- sr-lab4-rmi.zip (35.4 KB) - all files
- Lab 5: client-server application in CORBA
- sr-lab5-corba.zip (28.3 KB) - all files; one client generates logs with some priority, another client registers on the server, and the server relays logs with appropriate priority to the second client
- Lab 6: note board from Lab 3-4 implemented using CORBA, with server in C++ (OmniORB)
- sr-lab6-corba.zip (36.7 KB) - all files
- Everything: dist-all.zip (211.3 KB)