Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multithreaded Java Web Server

This project demonstrates a simple web server-client architecture in Java, showcasing both single-threaded and multi-threaded implementations.


📌 Features

  • ✅ Multi-threaded Server that handles multiple client requests concurrently using threads.
  • ✅ Single-threaded Server for comparison and understanding.
  • ✅ Java Socket and ServerSocket APIs used for TCP-based communication.
  • ✅ Simple use of functional interfaces like Consumer and Runnable.
  • ✅ Client capable of spawning multiple threads to test server concurrency.

🚀 How to Run

1. Compile the project

Navigate to the src/ directory in terminal:

cd path/to/web-server/src
javac MultiThreaded/*.java SingleThreaded/*.java

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages