The main class: MyWebTestApplication.java
The entry point of the application is the MyWebTestApplication.java file.
package com.myapp;
public class MyWebTestApplication {
public static void main(String[] args) {
SimpleWebFramework.run(MyWebTestApplication.class);
}
}
This simplicity is intentional and reflects one of the fundamental principles of the SimpleWebFramework: doing the essential without syntactic overhead. Unlike frameworks such as Spring Boot and Quarkus, which use annotations like @SpringBootApplication or @QuarkusMain to mark the application's entry point, the SimpleWebFramework adopts a more direct approach.
It is not necessary to explicitly indicate, through an annotation, which class initializes the system, as the existence of the main method (in this case still using the syntactic pattern prior to Java 25) invokes SimpleWebFramework.run, passing the definition of the application class itself as a parameter. This is because, through this definition...