Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/deepessh/web-server
A multi-threaded file-based web server written in Java
https://github.com/deepessh/web-server
Last synced: 9 days ago
JSON representation
A multi-threaded file-based web server written in Java
- Host: GitHub
- URL: https://github.com/deepessh/web-server
- Owner: deepessh
- Created: 2020-12-13T22:05:15.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-13T22:25:50.000Z (about 4 years ago)
- Last Synced: 2024-11-09T14:04:25.623Z (2 months ago)
- Language: Java
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Multi-threaded file-based Web Server
## Prerequisites
1. Java 11
2. Maven## Steps to run the server
1. Run mvn install to build the application
2. Run java -jar target/web-sever-jar-with-dependencies.jar to start the server with default options
3. Run java -jar target/web-sever-jar-with-dependencies.jar --help to see available options to run the server## References
1. https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/ServerSocket.html
2. https://www.net.t-labs.tu-berlin.de/teaching/computer_networking/ap01.htm (Got some general ideas of the project from this link. Implemented from scratch based on those ideas.)
3. https://www.baeldung.com/
4. https://stackoverflow.com/## Dependencies
1. Argparse4j - https://argparse4j.github.io/ - for parsing the commandline args
2. Apache tike - https://tika.apache.org/ - for content type detection