https://github.com/jeremytubongbanua/sofe4790u-assignment2
https://github.com/jeremytubongbanua/sofe4790u-assignment2
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/jeremytubongbanua/sofe4790u-assignment2
- Owner: JeremyTubongbanua
- Created: 2024-11-05T21:42:18.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-11-05T22:38:24.000Z (8 months ago)
- Last Synced: 2025-02-17T15:52:16.417Z (4 months ago)
- Language: Java
- Size: 139 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# soe4790u-assignment2
## Description
This is a distributed whiteboard application developed as part of SOFE 4790U Assignment #2. The application allows multiple clients to connect and collaboratively draw on a shared whiteboard in real-time using Java RMI. Clients can draw lines, add text, clear the canvas, and undo actions. The server manages the shared state of the whiteboard and provides these functionalities via remote methods.
## Commands
### Compiling and Running
1. Compile
```sh
javac com/sofe4790u/assignment2/*.java
```2. Run server
```sh
java com.sofe4790u.assignment2.WhiteboardServer
```3. Run client
```sh
java com.sofe4790u.assignment2.WhiteboardClient
```### Clean
```sh
rm com/sofe4790u/assignment2/*.class
```## Screenshots
### Running the server

### Running 2 Clients
