Hi there 👋

Welcome to some of my tech notes.

JakartaEE Security Options

JakartaEE Security Options The old problem still difficult to tackle: LDAP is nice for role based access, but not fine grained enough. Ans all the developers want to do is make use of RolesAllowed("fineGrainedRole") annotations. So the default security providers of an application server need to be extended. This post contains some links to ways to write your own authentication module in JakartaEE using jaspic: https://blog.payara.fish/using-jaspic-to-secure-a-web-application-in-payara-server And old documentation about: JSR-196 (ASPIC) and JSR-375 (JavaEE Security API)...

31 March, 2023 · 2 min · 278 words · R.M. Morrien

Javax package to JakartaEE jakarta package

Javax package to JakartaEE jakarta package So you are building an JavaEE 8 ear file or war file and you also need to deploy it on a JakarteEE 9 or 10? You run into the javax to jakarta package rename problem. For some history you could read about it: https://jakarta.ee/blogs/javax-jakartaee-namespace-ecosystem-progress/ You don’t want to maintain duplicate code, you search for some automated conversion. You are still stuck on some old JavaEE 8 / JakartaEE 8 application server and there is no information if they will ever upgrade… Then the transformer-maven-plugin might be interesting for you....

31 March, 2023 · 2 min · 349 words · R.M. Morrien

Quarkus and using jOOQ

Quarkus and using jOOQ This post is to try and read a simple DTO or Record object from a database using jOOQ within a Quarkus environment. The Quarkus environment is set up in a previous post: Quarkus Hibernate Stateless Session jOOQ https://www.jooq.org/ is a very versatile library to make your sql programming life easy. You should watch “JOOQ, Joy of SQL by Kevin Davin” talk from Devoxx 2022 to get a good impression....

28 December, 2022 · 4 min · 758 words · R.M. Morrien

Quarkus Hibernate Stateless Session

Quarkus project setup for hibernate-orm module After testing Hibernate and the Stateless Session I wanted to know what is supported out of the box in Quarkus with the Jakarta Persistence api. The best start page I could find when using Java and Maven is: https://quarkus.io/guides/maven-tooling#build-tool-maven First create a new maven module as described: mvn io.quarkus.platform:quarkus-maven-plugin:2.15.0.Final:create -DprojectGroupId=nl.escay -DprojectArtifactId=quarkus.hibernate.stateless.session I updated the pom.xml to use version 3.0.0.Alpha6 which allows me to test the latest Hibernate....

24 December, 2022 · 6 min · 1189 words · R.M. Morrien

Hibernate Stateless Session Test

Hibernate Devoxx 2022 talk During Devoxx 2022 in Belgium I attended the Hibernate talk ORM, 20 years later by Mr. King, on of the founders of Hibernate. The first version of Hibernate was released at 23 May 2001. My first encounter with Hibernate was in 2002 at my first job at Compuware. I worked from 2002 to 2007 on a code genaration tool OptimalJ that created initially a 3 tier (client / businesslogic / database) application using EJBs, Hibernate allowed us to skip the EJB layer and generate a more lightweight 3-tier application....

21 December, 2022 · 3 min · 570 words · R.M. Morrien