This Week in Spring - December 9th, 2014

Engineering | Josh Long | December 10, 2014 | ...

Welcome to another installment of This Week in Spring! In a few short weeks we'll be in 2015! Will that be exciting? Of course. But this week's pretty exciting as well! So much good stuff this week.

Latest Jackson integration improvements in Spring

Engineering | Sébastien Deleuze | December 02, 2014 | ...

Updated on 2015/08/31 with an additional Jackson modules section

Spring Jackson support has been improved lately to be more flexible and powerful. This blog post gives you an update about the most useful Jackson related features available in Spring Framework 4.x and Spring Boot. All the code samples are coming from this spring-jackson-demo sample application, feel free to have a look at the code.

JSON Views

It can sometimes be useful to filter contextually objects serialized to the HTTP response body. In order to provide such capabilities, Spring MVC now has builtin support for Jackson’s Serialization Views (as of Spring Framework 4.2, JSON Views are supported on @MessageMapping

This Week in Spring - December 2, 2014

Engineering | Josh Long | December 02, 2014 | ...

Welcome to another installment of This Week in Spring! This week I'm at the Rich Web Experience in Ft. Lauderdale, FL, joining my pal Matt Stine for a workshop on building microservices with Spring Boot, Spring Cloud and Cloud Foundry.

So, without further ado, let's get to it:

Spring Integration Java DSL (pre Java 8): Line by line tutorial

Engineering | Artem Bilan | December 01, 2014 | ...

Dear Spring Community!

Recently we published the Spring Integration Java DSL: Line by line tutorial, which uses Java 8 Lambdas extensively. We received some feedback that this is good introduction to the DSL, but a similar tutorial is needed for those users, who can't move to the Java 8 or aren't yet familiar with Lambdas, but wish to take advantage

So, to help those Spring Integration users who want to moved from XML configuration to Java & Annotation configuration, we provide this line-by-line tutorial to demonstrate that, even without Lambdas, we gain a lot from Spring Integration…

This Week in Spring - November 25th, 2014

Engineering | Josh Long | November 25, 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…

Spring Integration Java DSL: Line by line tutorial

Engineering | Artem Bilan | November 25, 2014 | ...

Dear Spring Community!

Just after the Spring Integration Java DSL 1.0 GA release announcement I want to introduce the Spring Integration Java DSL to you as a line by line tutorial based on the classic Cafe Demo integration sample. We describe here Spring Boot support, Spring Framework Java and Annotation configuration, the IntegrationFlow feature and pay tribute to Java 8 Lambda support which was an inspiration for the DSL style. Of course, it is all backed by the Spring Integration Core project.

For those, who are not interested in Java 8 yet, we provide similar tutorial without Lambdas: Spring Integration Java DSL (pre Java 8): Line by line tutorial

"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…

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 http://start.spring.io, define your domain, and then…

Spring XD 1.1 M1 and 1.0.2 released

Engineering | Mark Pollack | November 19, 2014 | ...

On behalf of the Spring XD team, I am very pleased to announce the first milestone release of Spring XD 1.1 and the 1.0.2 maintenance release.

Download Links:

  • 1.0.2.RELEASE: zip, 1.1.0.M1 RELEASE: zip

In addition to bug fixes, Spring XD 1.0.2 now supports Apache Hadoop 2.5.1. Pivotal PHD 2.1 and Cloudera CDH 5.1.3.

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

This Week in Spring - November 18th, 2014

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

Welcome to another installment of This Week in Spring! This week I'm in sunny Sofia, Bulgaria for the Java2Days software conference. As usual, this show is way too much fun and the crowd's bigger and better than ever!

  1. Spring Boot 1.2.0 RC1 is now available! This release moves embedded Servlet containers to Tomcat 8 or Jetty 9, adds a new @SpringBootApplication annotation, adds JavaMail support, and registers additional Spring Boot actuator support
  2. Spring Session 1.0.0.RC1 is here with loads of features!
  3. Speaking of using Spring with ZeroTurnaround, join ZeroTurnaround's Adam Koblentz and I on Nov 20th as we look at using JRebel and Spring Boot to deliver a one-two developer productivity punch without equal
  4. Want to learn more about the Reactor project and the role of asych I/O in microservices? Check out the upcoming Reactor webinar

Get the Spring newsletter

Stay connected with the Spring newsletter

Subscribe

Get ahead

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

Learn more

Get support

Tanzu Spring 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