The Spring Blog

Engineering
Releases
News and Events

This Week in Spring - May 31, 2016

Welcome to another installment of This Week in Spring! This last week was a bit crazy, though after a long restful weekend there’s a lot of intersting content to invigorate us for the week ahead. I’ll be speaking at a meetup on the 16th June, for those near Amsterdam that’d care to join us! As usual, we’ve got a lot to cover so let’s get into it.

Read more...

Spring REST Docs 1.1.0.RELEASE

It’s my pleasure to announce the release of Spring REST Docs 1.1.0.RELEASE which is now available for Maven Central, JCenter and our release repository.

Highlights

REST Assured

As an alternative to the lightweight server-less documentation generation offered by Spring Framework’s MockMvc, you can now use REST Assured to test and document your RESTful services. This opens up Spring REST Docs to all four corners of the JVM and beyond, allowing you to document anything that you can access via HTTP.

The samples now include an app that is documented using REST Docs, built using Grails, and tested using Spock. A third-party sample that uses REST Docs to document an API implemented using Ratpack is also available. My thanks to Jenn Strater who wrote both samples.

Read more...

Zero Downtime Deployment with a Database

This article will explain in depth how to tackle issues related to database compatibility and the deployment process. We will present what can happen with your production applications if you try to perform such a deployment unprepared. We will then walk through the steps in the lifecycle of an application that are necessary to have zero downtime. The result of our operations will be applying a backward incompatible database change in a backward compatible way.

If you want to work through the code samples below, you will find everything you need in GitHub.

Read more...

Spring Statemachine 1.1.0 Released

We’re pleased to announce a release of Spring Statemachine 1.1.0. I’d like to start by saying thank you for all who contributed in any way to make this happen. Artifacts are available either from Maven Central or from Spring Repository.

What we got into this release(compared to 1.0.x):

  • Comprehensive support for Spring Security.
  • Context integration with [email protected] has been greatly enhanced.
  • StateContext is now a first class citizen with how user can interact with a State Machine.
  • Features around persistence has been enhanced with a build-in support for redis.
  • New feature helping with persist operations.
  • Configuration model classes are now a public API.
  • New features in timer based events.
  • New Junction pseudostate.
  • New Exit Point and Entry Point pseudostates.
  • Configuration model verifier.
  • New samples.
  • UI modeling support using Eclipse Papyrus.
Read more...

This Week in Spring - May 24th, 2016

Welcome to another installation of This Week in Spring! This week’s already off to a crazy start. Sunday evening I returned from Kiev, Ukraine, where I spoke at JEEConf. Yesterday, Monday, I gave a talk with my friend Baruch from JFrog at yesterday’s JFrog Swampup conference event in Napa, California. Today I’m off to Denver, Colorado for Gluecon, and then off to GOTO Chicago in Chicago, Illinois and I’ll finish out the week in Washington DC for customer visits. I can’t wait to see you all along the way!

Read more...

Webinar: Understanding microservice latency: An introduction to Distributed Tracing and Zipkin

Speakers: Adrian Cole & Marcin Grzejszczak, Pivotal

Latency analysis is the act of blaming components for causing user perceptible delay. In today’s world of microservices, this can be tricky as requests can fan out across polyglot components and even data-centers. In many cases, the root source of latency isn’t a component, but rather a link between components. This session will overview how to debug latency problems, using call graphs created by Zipkin. We’ll use trace zipkin itself, setting up from scratch using docker.

Read more...

Spring Roo 2.0.0M2 released

On behalf on the Spring Roo team at DISID Corporation, I’m pleased to announce that Spring Roo 2.0.0.M2 has been released!

The main goal of this Spring Roo version was to update code generation to use latest Spring technologies:

  • Use Spring IO Platform to manage dependency versions and be able to use latest Spring technologies.
  • Update code generation to use the latest Spring framework versions (4.x)
  • Update code generation to include Spring Boot on generated projects.
  • Remove all generated configuration based on XML files and use Spring Boot auto-configuration.
  • Remove Active Record data model in favor of the Repository (Spring Data) based one.
  • Generate application architecture based on service layer pattern by default
Read more...

This Week in Spring - May 17th, 2016

Welcome to another installment of This Week in Spring! As I write this, I’m in Chennai, India, en route to Bangalore, India for a day of exciting customer meetings and then I’m off to sunny Barcelona, Spain, for the epic Spring IO event! Then, this Friday, I’m off to Kiev, Ukraine, for JEEConf. If you’re around, as always, don’t be shy and say hi!. That said, let’s get into it!

Read more...

Spring Boot 1.4.0.M3 Available Now

Spring Boot v1.4.0.M3 is available now from the Spring milestone repository. This release closes over 150 issues and introduces a number of new features.

Highlights include:

  • Lots of bug fixes and improvements over M2 (thanks to everyone for trying the milestones).
  • Convention based error pages (want a custom 404, just add src/main/resources/public/error/404.html).
  • Improved ErrorPage registration support.
  • Support for pluggable OAuth2 Principal extraction.

For a complete list of changes, and upgrade instructions, see the Spring Boot 1.4 Release Notes on the WIKI and the updated reference documentation.

Read more...