2024-11-06

Ujorm release 2.26

 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.





2023-06-07

New ORM Framework for Kotlin

 


An article about a Kotlin API for ORMs was published on DZone.

See a sample of the SELECT statement:


Links: 

  • The full article on DZone.
  • The source code on a GitHub.


2021-07-06

Ujorm for Kotlin?

 

A very early prototype of the Kotlin library for modelling filters using a domain object meta-model. Assembled filters work on common POJO objects. The solution was inspired by the Ujorm key-value framework, but this code is completely new. Topical areas of use are:

  • dynamic validations
  • alerting
  • modelling conditions for ORM

See more information:  https://github.com/pponec/ujormKt




2021-06-21

A mini Java web application with a size about 5 MB.

I managed to build a web application with a size of only 5.18 MB.
The application contains only a short HTML form with support for simple AJAX events. The project is built on the Javalin framework and a web module from the Ujorm framework.


The source code is freely available on GitHub:
https://github.com/pponec/demo-ajax/tree/javalin

2021-05-25

Java HTML Report in a Few Lines of Code

 I’d like to show you a simple table HTML report created with only thirteen lines of source code, written in a single command line using the Java programming language. Let’s pretend the data provision service already exists.

See the full articles on DZone:


Screenshot:



2021-04-26

A Simple AJAX Website in Java

During the Covid New Year of 2020, I created a simple prototype website using AJAX, with the goal of moving Java developers away from JavaScript and ideally also text-based HTML templates. I made my original solution a little more general, moved certain parts into the Ujorm framework, and am presenting the result here for your further inspiration.

 

See the full article: https://dzone.com/articles/a-simple-ajax-website-in-java