PetStore: Pure Java for UI and Safe SQL Mapping
I would like to introduce the PetStore sample application, which demonstrates a pure "Java-first" approach to web interface development. The entire project is built on the idea of maximum type safe...

Source: DEV Community
I would like to introduce the PetStore sample application, which demonstrates a pure "Java-first" approach to web interface development. The entire project is built on the idea of maximum type safety and clarity, achieved through two modules of the Ujorm 3 library. These effectively eliminate common abstraction layers that often complicate development and debugging. The PetStore is built on the lightweight Ujorm3 framework. š ļø Two Pillars of Ujorm3 1. UI Creation without Templates (ujo-web) We have replaced traditional engines like Thymeleaf or JSP with pure Java code. Type-safe rendering: HTML is generated using the HtmlElement builder and try-with-resources blocks. This approach allows writing Java code in a natural tree structure that faithfully mirrors the HTML structure. Refactoring with full IDE support: Since the UI is defined in Java, everything you are used to works ā autocomplete (IntelliSense), instant refactoring (e.g., extracting a table into a renderTable() method), and