2026-03-08

Ujorm3 (a new lightweight ORM framework for JavaBeans and Records)

I have prepared a completely new implementation of a lightweight ORM in pure Java that works with JavaBean and Record objects. More details will follow gradually. For now, I am just attaching a link to the project's homepage:

https://github.com/pponec/ujorm/tree/ujorm3?tab=readme-ov-file#-ujorm3-framework

And also a link to the performance tests, which can be used as a reference for your own implementations:

https://github.com/pponec/orm-bencharks?tab=readme-ov-file#orm-benchmark

Comments and feedback are welcome :-).





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: