A new version of the Ujorm library version 2.26 was released today. The changes concern the ujo-web module in particular. The goal of the release was to completely remove the dependency on the servlet-api,
The ujo-web module can therefore be connected both to a project that uses the new servlet API specification 5 (and higher) as well as to a project that uses the older version 4. The module can now also be used to build HTML pages without depending on any version of the servlet , for example for compiling the HTML code of email messages. The module contains a new RContext class (name inspired by Servlet Request Context) that creates a wrapper for the servlet API, the implementation gets resources using Java reflection. I am attaching an example of practical use:
Maven dependency:
<dependency>
<groupId>org.ujorm</groupId>
<artifactId>ujo-web</artifactId>
<version>2.26</version>
</dependency>
The API of the module has undergone some changes, so some parts of the API version 2.26 are not backwards compatible.