Springboot 3 Upgrade

spring-boot 2.x.x to 3.1.2 migration

Right now I have to do a couple of spring-boot 2.5.x and 2.7.x upgrades to spring-boot 3.1.2 (current latest).
As this is a major version it is not necessarily trivial. Luckily a few very good hot-to’s have already been written,
so I will only mention the standard things, but I will also try to write about the other things I encountered during the
upgrade and about how I made it work.

more >>

Java 20

Java 20

Java SE 20 was released March 21, 2023, so it should be generally available when this article is published.

Most of the JEPs in this release have something to do with Pattern Matching or Virtual Threads and are resubmissions of already known Incubator and Preview features. This version doesn’t contain any new main features. The most exciting innovation in this release is called “Scoped Values” and is intended to widely replace thread-local variables.

In this article we will take a look at all the new and resubmitted Incubator and Preview features.

1
2
3
4
$ docker run -it --rm \
-v $(pwd)/src:/src \
openjdk:20-slim /bin/bash
$ cd /src/java20

Listing 1

more >>

Java 19

JAVA 19

Yep, we’re another six months down the road, and it’s time for a new version of Java. Seven features (JEPs) are planned in Java SE 19.
To play around with some Java SE 19 features (without having to actually install early access), all the code in this article is executed within a docker container running OpenJDK 19 [2], see Listing:

1
2
3
4
$ docker run -it --rm \
-v $(pwd)/src:/src \
openjdk:19-slim /bin/bash
$ cd /src/java19

more >>

Java EE - Jakarta EE Initializr

Getting started with Jakarta EE just became even easier!

Get started

Hot new Update!

Moved from the Apache 2 license to the Eclipse Public License v2 for the newest version of the archetype as described below.
As a start for a possible collaboration with the Eclipse start project.

New Archetype with JakartaEE 9

JakartaEE 9 + Payara 5.2022.2 + MicroProfile 4.1 running on Java 17

  • And the docker image is also ready for x86_64 (amd64) AND aarch64 (arm64/v8) architectures!