The Spring Blog

Engineering
Releases
News and Events

Introducing Actuator Endpoints in Spring Boot 2.0

Spring Boot 2 brings important changes to Actuator and I am pleased, on behalf of the team, to give you a sneak peek to what’s coming in 2.0.0.M4.

Working on a major new release gives us the opportunity to revisit some of the public contracts and improve them. We quickly felt that the endpoint infrastructure was one of them: currently, the web endpoints in the Actuator are only supported with Spring MVC (no JAX-RS support). Also, creating a new endpoint that exposes several operations requires writing quite a lot of boiler plate: you need to write a main endpoint, the Spring MVC extension (as a @RestController), a JMX MBean and the necessary auto-configuration. As of Spring Boot 2 support for a "reactive" actuator became an obvious requirement that also brings several new challenges.

Read more...

This Week in Spring - August 15th, 2017

Hi Spring fans and welcome to another installment of This Week in Spring! It’s been a busy week! I started last week talking to a group of developers in North Carolina, then gave a VJUG presentation with Matt Raible in San Francisco, then spoke to developers in Saint Louis, then flew to New York City to shoot a video on continuous delivery for three days in a hot studio (over the weekend no less!) and now as I wing back to San Francisco I look forward to spending a blissful 14 hours on the ground before I’m off to Asia (Hangzhou, Shanghai, Beijing, Shenzhen, Hong Kong, and Singapore) for about four weeks! I’m not the only who’s been busy, though! As usual, we’ve got a lot to cover this week so let’s get to it!

Read more...

This Week in Spring - August 8th, 2017

Hi Spring fans and welcome to another installment of This Week in Spring! This week I’m presenting with my buddy Matt Raible on the VJUG (Virtual JUG) on Progressive Web Applications with Spring Boot and Angular 4, this Wednesday. Join us! Then it’s off to New York City, NY where I’ll be working with my buddy Marcin Grzejszczak on an exciting new project.

Read more...

This Week in Spring - August 1st, 2017

Hi Spring fans! Welcome to another installment of This Week in Spring! This week I’m in Nashville, TN, for a meetup presentation on Reactive Spring and then it’s off to Kansas City, KS for a replay of the same talk. Both times I’ll be joined by pal Mark Heckler. If you’re in either of those cities, don’t miss this!

I’m working on the next installments of Spring Tips: what would you like to see covered? Let me know on Twitter on @SpringTipsLive.

This week we have a truly massive good many things to look at so let’s get started!

Read more...

Spring Framework 5 Kotlin APIs, the functional way

Since our original announcement (very well received by the community!) of official Kotlin support in Spring Framework 5, we have continued to work towards even stronger Kotlin support in conjunction with recent refinements in Spring WebFlux.

In order to demonstrate these features, and how they could be used together, I have created a new spring-kotlin-functional demo application which is a standalone Spring WebFlux application, developed in Kotlin, with Mustache template rendering, JSON REST webservices and Server-Sent Events streaming capabilities. Don’t hesitate to send us feedbacks and proposals before Spring Framework 5 release expected in September.

Read more...

Spring Session MongoDB 2.0.0.M2 released

Dear Spring Community,

Spring Session MongoDB 2.0.0.M2 is released. It is based on:

  • Spring Session 2.0.0.M3

  • Spring Data Kay-RC2

  • Reactor Bismuth-M3

  • Spring 5.0.0.RC3

This is the first milestone with Reactor support, making it usable with Spring WebFlux.

In the meantime, you can get the bits today if you visit the project site, get the coordinates, and include the version number in your Spring Boot application.

Read more...

Spring Session Data Geode/GemFire 2.0.0.M1 now available.

Greetings Spring Community!

It is my pleasure to announce the first milestone release of both Spring Session Data Geode for Apache Geode and Spring Session Session Data GemFire for Pivotal GemFire.

Both artifacts can be downloaded from Spring’s libs-milestone Repository using Maven …​

  <dependency>
    <groupId>org.springframework.session</groupId>
    <artifactId>spring-session-data-geode</artifactId>
    <version>2.0.0.M1</version>
  </dependency>

Or with Gradle…​

  compile 'org.springframework.session:spring-session-data-geode:2.0.0.M1'
Read more...

Spring Data Ingalls SR5 released

On behalf of the Spring Data team, I’d like to announce the availability of Ingalls SR5 release.
It ships with over 40 issues fixed in total and is therefore a recommended upgrade for all users. For your convenience the service release is going to be picked up by the upcoming Spring Boot 1.5.5.

The complete list of issues fixed can be found here.

Spring Data Ingalls SR5

Read more...

Spring Data Release Train Kay RC1 & RC2 Released

On behalf of the Spring Data team, I’d like to announce the availability of the first and second release candiate of Spring Data Kay. This release ships over 120 tickets fixed. The curated changelog can be found in our release wiki, the complete list of issues fixed can be found here. Due to a severe issue in RC1 we immediately issued RC2.

Notable changes

  • Enhanced tooling support by adding @NonNullApi and @Nullable annotations in Spring Data Commons to be picked up by your favorite IDE.
  • Fine-tuning of the fluent API for MongoDB including a reactive counterpart and aggregation support.
  • Spring Data for Apache Geode joins the release train.
  • RedisCache got overhauled and is now way easier to configure.
  • Cassandra 3.0 driver upgrade and support for @Indexed and @SASI.
  • Child document support for Spring Data for Apache Solr.
  • A lot of internal cleanups.
Read more...

This Week in Spring - July 25th, 2017

Hi Spring fans! This week I’m in Istanbul, Turkey talking to customers and speaking at the Spring and Java meetups tonight. I hope you’ll join me and we’ll talk about cloud native Java! As usual, we’ve got a lot to cover this week so let’s get to it!

  • Spring Integration contributor Artem Bilan just announced Spring Integration 4.3.11. This release includes security updates as well as bug fixes.
  • Spring Batch lead Michael Minella just announced Spring Batch 3.0.8, which is mainly a maintenance release and a bugfix release.
  • Spring ninja Stéphane Nicoll has announced Spring Framework 4.3.10 which is a maintenance release for the upcoming Spring Boot 1.5.5 maintenance release. It includes 25 fixes and improvements.
  • Spring Cloud co-founder Spencer Gibb just announced Spring Cloud Dalston SR2. The release is primarily a bugfix. Also of note, this release marks the end of life for Spring Cloud Angel and Spring Cloud Brixton.
  • Spring Framework lead Juergen Hoeller just announced Spring Framework 5.0 RC3. The new release, part of an extended release candidate phase to allow Reactor 3.1, JUnit 5.0, Jackson 2.9 and so much more, includes API refinements in Spring WebFlux, Kotlin support, refined nullability declarations, and updated JDK9 support.
  • Spring Security contributor Joe Grandja just announced Spring Security 5.0.0.M3. The new release includes support for JSON Web Tokens (JWT), JSON Web Signatures (JWS) and integrated ID Token support for OpenID Connect authentication flows.
  • Spring integration and messaging ninja Artem Bilan just announced Spring AMQP 2.0.0 milestone 5. This release includes security fixes and a number of nice new features.
  • Micrometer provides a simple facade over the instrumentation clients for the most popular monitoring systems, allowing you to instrument your JVM-based application code without vendor lock-in. Think SLF4J, but for metrics. This project will serve as the metrics collection subsystem for Spring Boot 2.0 and will be backported to Spring Boot 1.0. Of note, though, is that Micrometer does not require Spring Boot to work. Check it out. There’s so much cool stuff here, one hardly knows where to start.
  • Gyula Lakatos put together an inspired, and detailed, blog detailing his first, and fresh, look at Spring Cloud Function on AWS Lambda. Nice job Gyula!
  • This is an oldie-but-a-goodie: Antonio Simoes talks about moving his companies’ architecture from a monolith to a non-blocking Spring Cloud-based architecture.
  • Microservices were driven by vendors - This isn’t strictly releated to Spring, but I liked Stephen O’Grady’s discussion about microservices - why people adopt them and what differentiates them from SOA.
  • James Governer follows up on Stephen O’Grady’s post on microservices.
  • and in the absolutely-great-news-that-has-nothing-to-do-with-Spring-per-se column: 10 years ago, 2,600 female students took AP Computer Science exam. In 2017, 29,000 female students took the exam. The growth among female students has been incredible, increasing participation in AP CS exams by 135% since 2016. Not to be outdone, underrepresented minorities have increased participation by nearly 170% over last year! Things are trending in the right direction. I sincerely hope our ecosystem sees increased diversity, more inclusion and participation and that it continues to grow.
  • Spring Boot user Nicky Mølholm‏ chimes in to share that the new Lego Life app is, behind the scenes, powered by Spring Boot. As a fan of both Legos and Spring Boot, I thought this was super cool! Congrats to the Lego Life team!
  • Move fast and don’t break things - by Rod Johnson - Spring creator and Atomist CEO Rod Johnson details how his company’s main offering can be a boon to teams using Spring Boot. This is a really cool offering that simplifies the end-to-end story for creating new services (which could and should be in Spring Boot), supporting collaboration, detecting breaking-and-outage-inducing changes, and managing the path to production (in, for example, Cloud Foundry). I’ve signed up!
  • Oracle Java Magazine, this month, has a nice look at some of the new features in Java 9 which is, of course, just around the corner.
  • This is an oldie-but-a-goodie from Spring ninja Greg Turnquist that looks at some issues people think they have with REST and how to get around them. It’s a good read.
Read more...