This Week in Spring - November 25th, 2014

Engineering | Josh Long | November 24, 2014 | ...

Egads! Can you believe it's already almost the end of the year? Time has been screaming fast! It's the week of Thanksgiving for those of us in the United States. This is a wonderful time of year to sit back, find a nice Spring IO guide or blog to read, and then build something awesome.. oh, and it's an ideal time to spend in the company of friends and family and to reflect on those and that for which we're grateful. I'm sure I speak for the Spring team and Pivotal at large when I say that we're grateful for you, our inspiring community, users and customers.

But if you do want something to read…

Webinar Replay: Spring Boot and JRebel 6.0

News | Pieter Humphrey | November 24, 2014 | ...

Speakers: Josh Long, Pivotal + Adam Koblentz - ZeroTurnaround


Spring Boot, the new convention-over-configuration centric framework from the Spring team at Pivotal, marries Spring's flexibility with conventional, common sense defaults to make application development not just fly, but pleasant! Spring Boot gives you a huge leg up over normal starter projects, now let's give you another boost by adding JRebel. With JRebel, the average Java developer saves over 1 work-month per year by using JRebel to skip rebuild, restart, and redeploys of their application. JRebel 6 launches on November 4, 2014 and includes complete Spring Boot integration. Join Spring's Josh Long and ZeroTurnaround's Adam Koblentz and learn how to combine Boot with JRebel and get more done, in less time with less configuration.

Learn more about Spring Boot:

Learn more about JRebel:

14 day free JRebel trial download:


!{iframe width="420" height="315" src="//" frameborder="0" allowfullscreen}{/iframe}

SpringOne2GX 2014 Replay: Creating REST-ful, Hypermedia-based Micro-services with Spring Boot

News | Pieter Humphrey | November 24, 2014 | ...

Recorded at SpringOne2GX 2014.

Speaker: Ben Hale @nebhale


As data-driven applications become ubiquitous, the services that provide the data are proliferating. As teams become responsible for more and more of these services, it becomes critical that they be designed and implemented in a way that is as lightweight as possible. This session will cover how to design micro-services as RESTful APIs and implement them with minimal code using Spring Boot. It will focus on API design using REST and HATEOAS, with live coding progressing from a tweet-length implementation all the way to a full-fledged app running in the cloud.

Along the way we'll see how to leverage technologies such as Spring Boot and Reactor to develop microservices targeted at Cloud Foundry.

!{iframe width="560" height="315" src="//" frameborder="0" allowfullscreen}{/iframe}

SpringOne2GX 2014 Replay: Developing Microservices for PaaS with Spring and Cloud Foundry

News | Pieter Humphrey | November 24, 2014 | ...

Recorded at SpringOne2GX 2014.

Speaker: Matt Stine


Marc Andressen has famously said "Software is eating the world." What does that mean? We take it to mean that multiple industries with historically entrenched leaders are being disrupted by businesses built around a software core. These software factories are characterized by: tight feedback loops rapid iteration horizontal scaling mobile-first UX continuous delivery These factors have contributed to drive a change in how we approach infrastructure, which has taken the lead in adapting to meet these needs with the move to the cloud, and Platform as a Service (PaaS) offerings like Cloud Foundry have raised the level of abstraction to a focus on an ecosystem of applications and services. However, most applications are still developed as if we're living in the previous generation of both business and infrastructure: the monolithic application. Microservices - small, loosely coupled applications that follow the Unix philosophy of ""doing one thing well"" - represent the application development side of enabling rapid, iterative development, horizontal scale, polyglot clients, and continuous delivery. They also enable us to scale application development and eliminate long term commitments to a single technology stack. While microservices are simple, they are certainly not easy. It's recently been said that "microservices are not a free lunch." Interestingly enough, if you look at the concerns typically expressed about microservices, you'll find that they are exactly the challenges that a PaaS is intended to address. So while microservices do not necessarily imply cloud (and vice versa), there is in fact a symbiotic relationship between the two, with each approach somehow compensating for the limitations of the other, much like the practices of eXtreme Programming do the same. This session will describe architectural patterns for developing microservices:

  • Service Decomposition
  • API Gateways
  • Stateless / Shared-Nothing
  • Apps Configuration and Backing Service
  • Consumption
  • Fault Tolerance

Along the way we'll see how to leverage technologies such as Spring Boot and Reactor to develop microservices targeted at Cloud Foundry.

!{iframe width="560" height="315" src="//" frameborder="0" allowfullscreen}{/iframe}

SpringOne2GX 2014 Replay: Running Your Spring Apps in the Cloud

News | Pieter Humphrey | November 24, 2014 | ...

Recorded at SpringOne2GX 2014.

Speaker: Cornelia Davis


The Spring Trader application was debuted at SpringOne 2GX in 2012 and presented an application that demonstrates a multitude of Pivotal Application Fabric components working together – tcServer, RabbitMQ, SQLFire and Gemfire. In this session we will take that application and make (a few) modifications (mostly to config) to get it running on the same components in the cloud, specifically on the Cloud Foundry PaaS. We’ll show you how to use the Spring Cloud project to configure the deployment, how to leverage a cloud services catalog, how to implement a cross-site scripting solution (and why), how to do session state caching and we’ll discuss (the dangers of) auto reconfiguration. If you bring a laptop you can have your own instance of the app running by the end of the session.

!{iframe width="560" height="315" src="//" frameborder="0" allowfullscreen}{/iframe}

Spring Integration Java DSL 1.0 GA Released

Releases | Artem Bilan | November 24, 2014 | ...

Dear Spring community,

As we promised in the Release Candidate blog post, we are pleased to announce that the Spring Integration Java DSL 1.0 GA is now available. As usual, use the Release Repository with Maven or Gradle, or download a distribution archive, to give it a spin.

See the project home page for more information.

First of all, we are glad to share with you that on Nov 12, 2014, DZone research recognized Spring Integration as the leader in the ESB / Integration framework space, leading with 42% marketshare, in a publication of their recent survey results. And the report is…

\"Bootiful\" Java EE Support in Spring Boot 1.2

Engineering | Josh Long | November 23, 2014 | ...

In this blog, I want to look at - and demonstrate - some of the many new features in Spring Boot 1.2 that make the lives of those coming from, or otherwise building on, Java EE easier.

It's worth mentioning that a lot of this support has been possible with Spring before, of course, but now with Spring Boot 1.2, it's just so darned easy!

First, here's an example program with notes after.

package demo;

import org.glassfish.jersey.jackson.JacksonFeature;
import org.glassfish.jersey.server.ResourceConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot…

Spring Boot 1.2.0.RC2 Available Now

Releases | Phil Webb | November 21, 2014 | ...

I am pleased to announce that the second release candidate for Spring Boot 1.2.0 is available now in the Spring milestone repository. This is mainly a bug fix release, although we did manage to sneak in a fantastic community contribution which adds support for Undertow as an embedded Servlet container.

For a complete list of changes, and for upgrade instructions, see the Spring Boot 1.2 Release Notes on the WIKI. The reference documentation has also been updated to cover new features.

As usual, please report any problems using the project Issue tracker.

Spring Roo 1.3.0 introduces JDK 8 support

Releases | Pieter Humphrey | November 21, 2014 | ...

On behalf of the Spring Roo team, I am pleased to announce the release of Spring Roo 1.3.0, the first version released by DISID Corporation as project lead.

Spring Roo is a rapid application development tool for Java, allowing you to create full web enterprise applications in just minutes.

This is the first time that Spring Roo jar files have been published to Maven Central! As always, the release is available in the Spring IO repository.

The 1.3.0 release includes bug fixes and enhancements as well as several new features:

  • Now Roo has complete support for JDK 8:
    • run Spring Roo with JDK 8

    • run generated applications with JDK 8
  • Update Felix to 4.4.1

For full details on the changes made in the release, please refer to the Release Notes in Jira

For more project specific information please see the Project Page | GitHub

Please try out the updates and provide feedback.

As always, you’ll also find Roo on Twitter - either follow @SpringRoo or just include #SpringRoo in your tweets. The next version 2.0 will be amazing, the best is coming up. Stay tuned!

Screencast: How to create a RESTful app in five minutes or less

Engineering | Greg L. Turnquist | November 20, 2014 | ...

Recently, a friend of mine tweeted out a challenge:

"Name a framework in which you can create a new app expose a REST service with a database and deploy it to the cloud in five minutes. #grails"

The moment I spotted that tweet, I responded, "Spring Boot + Spring Data REST"! I realized he was kindly pointing out how easy it is to build RESTful services with Grails (a great framework). But I couldn't resist showing the ease and power of Spring Data REST.

To prove my point, I couldn't resisting crafting a screencast. In the linked screencast, I show how über easy Spring has made it to pick the parts for your app from, define your domain, and then…

Get the Spring newsletter

Thank you!

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Spring Runtime offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all