-
Book Overview & Buying
-
Table Of Contents
Java Web Internals
By :
With the construction of the SimpleWebFramework, we reached an important milestone: the creation of a didactic and functional environment capable of handling the main elements that compose a modern web framework – route control, HTTP method mapping, dependency injection, and automated response in JSON format. However, like any modular software structure, the framework can (and should) evolve. Based on its solid and simple foundation, there are countless possibilities for expansion that allow it to broaden its capacity and bring it closer to professional frameworks, while still preserving the pedagogical character that defines it.
A first path of evolution is to improve the component lifecycle, allowing the developer greater control over how and when objects are instantiated. Today, the SimpleWebFramework performs on-demand dependency injection, meaning it creates objects only when they are needed. This behavior, although efficient for the...