Java HttpServer Tutorial - The Server runs now !!!!
I just posted the latest article in the series. It gets the Java HttpServer started, and wired up. Has a pointer to the Merge Request too.
The series is available at: https://blog.mandraketech.in/series/java-http-server
The kicker, in the current article ? There is a Http Server, with 404 handling, and a “/ping” endpoint, all implemented and shipped in a jar that is less than 6000 bytes, yes “less than 6000 bytes”.
AND …. we did dependency injection.
Next article, we will write tests for the handlers, using the DI mechanism we built.
I am sure it will get bigger and more complex, but really, a Http Server, in that small a size ? Check out the articles. Subscribe to the newsletter to keep getting follow up posts.