Summary
Throughout this chapter, we delved deeply into the internal architecture of SimpleWebFramework, understanding each step that makes a modern web application built entirely in Java possible. This journey began with the SimpleWebFrameworkApplication class, responsible for bringing the framework to life. It was this class that launched the embedded Tomcat server, eliminating the need for external servers and allowing the entire system to run autonomously, within a single executable. In this process, the main application also began scanning the project using ClassExplorer, a component that laid the foundation for the rest of the execution.
ClassExplorer was presented as the true explorer of the application ecosystem. It traversed the compiled class directories using the Depth-First Search algorithm, ensuring that no class was overlooked, regardless of the complexity of the package structure. From this scan, the framework was able to identify all classes annotated with @SimpleController...