close

A Java 17 and Jakarta EE 9 baseline for Spring Framework 6

As announced at SpringOne yesterday, Spring Framework 6 and Spring Boot 3 are planned towards a high-end baseline for their general availability in Q4 2022:

  • Java 17+ (from Java 8-17 in the Spring Framework 5.3.x line)
  • Jakarta EE 9+ (from Java EE 7-8 in the Spring Framework 5.3.x line)

This forward-looking baseline will provide significant benefits in our API design and integration efforts, shining through to your application code and future-proofing the framework as well as your applications for many years to come. However, it comes at a cost, of course: Spring Framework 6 and Spring Boot 3 based applications will require a minimum of JDK 17 at runtime, as well as a minimum of Tomcat 10 / Jetty 11 (for Jakarta EE 9 compatibility). Even more importantly, there might be some changes required in your application source code: e.g. the javax to jakarta namespace change in Jakarta EE 9 wherever you’re touching the Servlet API, JPA, Bean Validation, etc.

Read more

Monitor Spring Boot applications end-to-end using Dynatrace in Azure Spring Cloud!

Today, we are excited to announce the integration of the Dynatrace Software Intelligence Platform in Azure Spring Cloud.

Over the past 18 months, we worked with many enterprise customers to learn about the scenarios they face. Many of these customers have thousands of Spring Boot applications running in on-premises data centers. As they migrate these applications to the cloud, they need to instrument them for application performance monitoring (APM) using solutions their developers are familiar with and have been using for years. In addition, they must ensure continuity for desktop and mobile applications that are already pre-instrumented for end-to-end monitoring using agents like Dynatrace OneAgent, which automatically discovers and maps all applications, microservices, and infrastructure as well as any dependencies in dynamic hybrid, multi-cloud environments. With the integration of Dynatrace OneAgent in Azure Spring Cloud, you can continue your journey and easily instrument your Spring Boot applications with Dynatrace.

Read more

Spring GraphQL 1.0.0-M2 available now

Less than 2 months after the initial announcement of Spring GraphQL and its follow up intro blog,
I’m happy to announce that the 1.0.0-M2 version has been released and is available from the Spring Milestone repository.

The Spring GraphQL team would like to thank the early adopters and contributors - with your help, we’re making good progress towards a GA version!

We’ve fixed a few issues and renamed a couple of concepts, but the most notable change is the introduction of a new annotation model for GraphQL Controllers.
You can now annotate @Controller components to handle queries, mutations and subscriptions:

Read more

This Week in Spring - August 31st, 2021

Hi, Spring fans! Can you believe it? SpringOne 2021 kicks off in less than 24 hours! Have you registered? It’s free and it’s virtual, but the talks are live and there’ll be ample opportunity to talk to the Spring and Tanzu teams behinds the scenes. And, of course, I’ll be there. Also, don’t miss tomorrow mornings opening keynote, which I’ll be emceeing. And please don’t miss my session on Azure Spring Cloud with Julien Dubois and Layla Porter. There are a ton of great talks over the next two days. Do not miss these! Alrigty my friends, we’ve got a ton of stuff to review so without further ado, let’s dive right in!

Read more

This Week in Spring - August 24th, 2021

Hi, Spring fans, and welcome to another riveting roundup of all the news that’s fit to reprint in the Java and Spring ecosystems, with apologies, as always, to The Times. We’re a week away from SpringOne 2021, our annual, free, and utterly online tentpole conference featuring hundreds of hours of amazing technical content from speakers all around the world and tens of thousands of attendees with whom to partake in the festivities. Do not miss this! I’ll be there!

I get so excited in the leadup to SpringOne each year, and this year doubly so! First, there’s the usual monumental scope of the whole thing, which always gets me. I also just got my first (of hopefully many) negative COVID-19 tests a few days ago, after three weeks of convalescence. Huzzah! I’m still taking it easy, trying to make sure I stay on the good side of the hospital doors, and that I don’t relapse or incur any of the possible repercussions of COVID post-recovery. All that to say that SpringOne, this year, a year in which we - a worldwide community - have been through hell and back and still shipped paradigm-shifting, game-changing software, and a year in which I fought COVID-19, is going to be extra special for me. I got so excited I started tweeting poetry :-)

Read more

Structuring Your Code for Spring Framework and Spring Boot

or: How To Build a Mental Framework for Spring Framework

EDIT: There’s a great comment below that mentions that the original title, Structuring Spring Boot Applications, is a bit misleading, in that the blog doesn’t intend to talk about how to organize types and packages, and instead thinks about how Spring interacts with the objects in your code. The next paragraph sought to clarify that point but apparently fell short. Anyway, I’ve changed it, which unfortunately will break earlier links to it. I’m sorry for both the poor title and the now two days of broken links. I hope it’s useful for everyone, even if I clearly could’ve done a better job with the title…

Read more

Spring Boot 2.6.0-M2 is now available

On behalf of the team and everyone who has contributed, I’m happy to announce that Spring Boot 2.6.0-M2 has been released and is now available from https://repo.spring.io/milestone.

This release includes more than a 100 bug fixes, documentation improvements, and dependency upgrades. Thanks to all those who have contributed with issue reports and pull requests.

How can you help?

If you’re interested in helping out, check out the “ideal for contribution” tag in the issue repository. If you have general questions, please ask on stackoverflow.com using the spring-boot tag or chat with the community on Gitter.

Read more

Spring Boot 2.5.4 available now

On behalf of the team and everyone who has contributed, I’m happy to announce that Spring Boot 2.5.4 has been released and is now available from Maven Central.

This release includes 35 bug fixes, documentation improvements, and dependency upgrades. Thanks to all those who have contributed with issue reports and pull requests.

How can you help?

If you’re interested in helping out, check out the “ideal for contribution” tag in the issue repository. If you have general questions, please ask on stackoverflow.com using the spring-boot tag or chat with the community on Gitter.

Read more