Spring Web Flow 3.0 M1 Released

It has been almost 4 years since the last set of Spring Web Flow releases. Nevertheless, the project continues to serve a specific need particularly well, arguably better than alternatives, and remains in active use. While there hasn’t been a strong driver for new releases, the upcoming Spring Framework 6 brings a Java 17 baseline and makes the shift to Jakarta EE, which creates the need for such a release in order to enable applications to migrate to this new baseline.

Today I’m pleased to announce the availability of Spring Web Flow 3.0 M1 in the Spring milestone repository. This release focuses mainly on compatibility with Spring Framework 6 and Jakarta EE. The Travel booking-mvc sample on spring-projects/spring-webflow-samples has been updated and the commit history provides example changes. One significant change is the need to remove Tiles which has not migrated to Jakarta EE. In the sample, Thymeleaf Layouts is used instead.

Read more

This Week in Spring - August 9th, 2022

Hi, Spring fans! Welcome to another installment of This Week in Spring! How are you this fine Tuesday? I’m in Kansas City for the Kansas City Developer Conference. It’s a crazy fun show, and I’m glad to be here. I only wish the rest of you were here, too! We’ve got a packed This Week in Spring, however, so let’s dive right into it.

Read more

This Week in Spring - August 1st, 2022

Aloha, Spring fans! Welcome to another installment of This Week in Spring!

I’m still on vacation on the beautiful island of Maui, Hawaii, but I wanted to say hello (“aloha!”) and share this week’s latest roundup of all that’s good and glorious in the wide and wonderful world of Springdom.

Funny thing, today - the 2nd of August, 2022 - is also my 12-year anniversary on the Spring team. It continues to be a helluva ride, and I so look forward to all that lies ahead. Thank you, Spring team, for everything. Also, sort of coincidentally, I just got a nice promotion. (Thanks, Spring team and VMware). I’m also just about to hit 60,000 followers on Twitter. It’s been a weird, wonderful week, and not just because of all that, but because we’ve got a ton of great stuff to dive into this week (besides the ocean, which I’ll return to promptly after finishing this roundup)!

Read more

How to integrate Hibernates Multitenant feature with Spring Data JPA in a Spring Boot application

For quite some time now, Hibernate has offered a Multitenant feature. It integrates nicely with Spring, but there is not much information about how to actually set it up, so I thought an example or two or three could help.

There is already an excellent blog article, but it is a little dated and it covers a lot of specifics to the business problems the author tried to solve. This approach hides a little of the actual integration, which will be the focus of this article.

Do not worry about the code in this post. You can find links to the full code examples at the end of this blog post.

Read more

Spring Authorization Server Is Going 1.0

We are excited to announce that we’ve started preparing for Spring Authorization Server 1.0 with plans to release the GA version in November 2022. It has been just over two years since we initially announced this new project, and we have come a long way since its initial development. The project has a full feature set, and the APIs have stabilized and matured over this time. A lot of effort and care was put into this project to ensure that it can grow and adapt over the next few years.

Spring Authorization Server 1.0 will be based on Spring Security 6.0, which will be based off of Spring Framework 6.0 and will require a minimum of Java 17 at runtime, as well as a minimum of Tomcat 10 or Jetty 11 (for Jakarta EE 9 compatibility). This major release will inherit the VMware Tanzu OSS support policy. Commercial support, which offers an extended support period, is also available from VMware.

Read more

This Week in Spring - July 26th, 2022

Aloha, Spring fans! I’m on vacation, reporting to you from the paradise-like island of Maui, Hawaii, and hoping that you’re having a wonderful day! My family and I love Hawaii. It’s brimming with beauty and serenity, and while the island of Maui, in the state of Hawaii, is very small, the islands are humbling. They make you feel so very small. It’s surreal to sit there on the beach as the sun creeps down beyond the horizon and to realize there’s nothing but pitch black darkness and water for as far as you can see, starting just a few meters away. It’s endless. It has no end. Like the bugs in code. Endless. And humbling.

Read more