This post is the conclusion of HTTP server from scratch. Previous post about modularization can be found here. In this post we will make our webserver somewhat more configurable. We will add one more switch to the server.properties to point to a external directory that will be used to serve the documents from. Since it … Continue reading HTTP server from scratch: Configuration
Category: WebServer
HTTP server from scratch: Modularization
This is a continuation in the series of post to build a static HTTP server from scratch. Previous post about Unit testing can be found here. In this post we are going to refactor the code a little bit to make it somewhat more modular and configurable. Modular in the sense, break out from a … Continue reading HTTP server from scratch: Modularization
HTTP server from scratch: Unit testing
This is a part two in the series to build a web server from scratch without external dependencies. Part one can be found here Now that we have minimal setup working, next area of focus is testing. If we were to follow Test Driven Development (TDD), test cases would have to be written first before … Continue reading HTTP server from scratch: Unit testing
HTTP server from scratch
Almost everything available on the Internet is served by web server. There are plenty of web server implementations like Apache, Nginx, Express, etc. But ever wondered how to implement a web server from scratch without any external dependencies? I wondered about that and this post is the result of that little experiment using Java. Goals … Continue reading HTTP server from scratch