Summary
Building the Simple Application Server provided us with valuable insight into the ins and outs of a web server. We covered the basics of sockets, HTTP protocol manipulation, reflection, manual routing, and response composition. We then moved on to understanding the architecture of modern servers, with a focus on Apache Tomcat and the central role of the DispatcherServlet in Spring MVC, and how frameworks like Spring and Quarkus organize all this complexity for the developer.
But this is not the end. True understanding is only achieved when we are able to apply the concepts learned to concrete solutions. That is exactly what we propose from this point on: developing our own web framework, combining the simplicity of the tools we built with the robustness of the standards we studied.
In the next chapters, we will guide you step by step through the implementation of a modular, lightweight, and didactic framework, using embedded Tomcat, routing via annotations, automatic serialization...