4

Spring Boot 3.0 Indubitably Rocks With Java 19 Support

 1 year ago
source link: https://tomaszs2.medium.com/spring-boot-3-0-indubitably-rocks-with-java-19-support-7c51eaf0c628
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Spring Boot 3.0 Indubitably Rocks With Java 19 Support

Spring Boot 3.0 and Java 19? Am I dreaming? 🎶

1*bASzdIQCXc7fkPm8EKArTA.png

If you are in the group of my 1800 subscribers, you know that I think Java is that special and is the Ryan Reynolds of programming languages.

Java 19 is a game changer, and Java Spring Boot 3.0.0 RC rocks socks. It is the perfect duet, just like Batman and Robin.

And Robin, my dear subscribers, reached the stable 3.0.0 version. So just a fast recap what you can expect from it. You will find more in my RC release article if you happened to miss that.

Spring Boot 3 comes with over hundred improvements and is culmination of 11 months of work. It supports GraalVM native images, JakartaEE 9 and Java 17. But that's not all. It also works with Java 19 🎆.

You can now also provide arguments to the application through Marvel plugin thanks to AOT.

Spring Boot 3.0.0 also has lifecycle hooks reorganized, so you don’t have to use hacky ways to catch server shutdown event anymore.

You can also configure JDBC beans if you like to. And Prometheus Exemplars are pre-configured to make showing these nice charts much easier.

But that's not everything. Now, you can also create profile specific configurations for Log4j2, make lookups for environment properties and have access to Log4j2 system properties.

Another thing that will ease the use of SpringBoot is removing the requirement of providing @ConstructorBinding if the class has one, parameterized constructor. Less boilerplate makes me happy.

There are also some updates for Micrometer. You will discover now Spring Boot takes care of a lot more than before. Auto generated configurations will make your life easier.

And that's not all, check out the source link for full release notes to find things that match your project requirements.

Java Spring Boot 3.0 is amazing. For me the most important news is that it supports Java 19, what is mind blowing, given the short schedule between both releases. Being able to use the latest Java and Spring Boot is the greatest Christmas gift Spring Boot developer could imagine. Well, maybe except a yacht, or a private jet.

Bonus

What is your New Year’s resolution? If you are choosing between starting to go to the gym, or writing a journal, I have something even better. How about changing the IDE? Take a look at the 2022 overview of the most popular IDE and text editors Java engineers use in my new article: Java IDE 2022.

Check out also my Java Flashcards that are now available!

Would you like to be up-to-date with software engineering? Already over 1,500 people subscribe to Tom Smykowski’s articles. Now you can join them too. Subscribe now!

Source


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK