The Spring Blog

Engineering
Releases
News and Events

This Week in Spring - May 26th, 2015

Welcome to another installment of This Week in Spring! There is a lot to talk about, so let’s get to it!

  • First, the big news! Spring framework lead and OG Spring Guy Juergen Hoeller just announced that Spring framework 4.2 RC1 is now available! This new release includes lots of amazing new features so be sure to check it out! It includes anotation detection on Java 8 default methods, annotation-based application events, first-class annotation attibute aliases, nest path processing for direct field binding, data binding and conversion for JSR 354 (money and currency), Hibernate ORM 5.0 support (via JPA and natively), a STOMP client for use over TCP and WebSocket channels, Listenable/CompletableFuture as a message handler return value, CORS and declarative HTTP caching support, and much more. Get the bits, try it out, let’s make sure this is the best release yet!
  • Spring Cloud Connectors lead Scott Frederick just announced that the Spring Cloud Connectors 1.2.0 RC1 has been released. The new release includes many, backwards compatible, changes and upgrades including support for HikariCP as a connection pool and a fix that removes the dreaded ClassNotFoundException in certain rare circumstances! This upgrade is definitely worth an upgrade!
  • Spring Data ninja and Spring for Apache Hadoop lead Thomas Risberg just announced the last planned Spring for Apache Hadoop milestone release before 2.2.GA in approxmately 2 weeks. This release includes Cloudera CDH support, Hortonworks HDP 2.2 and 2.2.4.0 support, an updated Kite SDK, improvements to HDFS writer to support syncable writes and a new timeout option, and - usefully - this release requires Java 7 or greater.
  • Check out Marius Bogoevici and Dr. Mark Pollack’s amazing webinar on reactive pipelines with Spring XD and Kafka from last week! Even if you saw it, you’ll want to check it out again. This one was filled with good stuff.
  • Your humble author has been honored with the title of Java Champion. This title is bestowed on those who help advance the Java platform and nominations are made by other Java champions. It is a rarified group and I don’t know that I’m worthy. I only mention it because it is the camaraderie I share with you - the most amazing community in the world - that makes it fun and exciting to keep doing it. Thank you my friends. This Week in Spring is an almost 5 year chronicle of all the amazing things the community does to teach and inspire me and others. Thank you!
  • ChargeAhead has an interesting two-part video of building a Spring Boot-based Spring MVC application. Here’s part 1 and here’s part 2.
  • Driss Amri
    put together a nice post on getting started with Spring Security, Spring Session and Redis
  • Jose Diaz put together a video on using Angular.js, Twitter Bootstrap, Spring MVC, Spring Data and Spring Security together
  • Spring Cloud product manager Matt Stine put together a wonderful look at Spring Cloud in this InfoWorld post
  • The Learning the code way blog has a post on how to configure Spring Batch’s metadata database
Read more...

Spring Framework 4.2 goes RC1

Dear Spring community,

It’s my pleasure to announce that Spring Framework 4.2 RC1 is now available from our milestone repository. This is a feature release in the 4.x line with a focus on core refinements and modern web capabilities:

  • Annotation detection on Java 8 default methods (e.g. @Bean)
  • Annotation-based application events (@EventListener)
  • First-class support for annotation attribute aliases
  • Full nested path processing for direct field binding
  • Data binding and conversion for JSR-354 Money & Currency
  • Integration with Hibernate ORM 5.0 (natively and via JPA)
  • Rich support for CORS and declarative HTTP caching
  • First-class support for HTTP Streaming and Server-Sent Events
  • Listenable/CompletableFuture as message handler return value
  • A STOMP client for use over TCP and WebSocket channels
Read more...

Spring Cloud Connectors 1.2.0 RC1 released

I’m pleased to announce the availability of Spring Cloud Connectors 1.2.0 RC1.

This release should be fully backward compatible with 1.1.0.RELEASE for applications using the library. Libraries that extend the core Connectors library should be recompiled against 1.2.0 RC1, and may encounter a few small extension API changes. Barring any issues, this will be the only RC before 1.2.0.RELEASE.

Here’s an overview of what’s new in 1.2.0:

Spring Cloud Connectors Core

AMQP

  • AmqpServiceInfo no longer validates that the path element of a URI contains a value, which allows the default RabbitMQ vhost to be used.
  • URL validation in AmqpServiceInfo was relaxed such that QPID URL format is supported as well as RabbitMQ URL format.
  • AmqpServiceInfo now supports holding a list of URIs for providers that support multiple host connections.
Read more...

Spring for Apache Hadoop 2.2 RC1 released

We are pleased to announce the Spring for Apache Hadoop 2.2 RC1 milestone releases. This is the last planned release before the 2.2 GA release in approximately 2 weeks.

The most important changes/enhancements in the Spring for Apache Hadoop 2.2 version are:

  • Remove support for running with JDK 6, Java 7 or later is now required
  • Improvements to the HDFS writer to support syncable writes and a new timeout option
  • Add support for Pivotal HD 3.0
  • Update CLoudera CDH 5 to use version 5.3.3
  • Update Hortonworks HDP 2.2 version to 2.2.4.0
  • Update Kite SDK to version 1.0
  • Update Spring project versions to the latest
Read more...

Webinar Replay: Reactive data-pipelines with Spring XD and Kafka

Speakers: Marius Bogoevici & Mark Pollack

Slides: https://speakerdeck.com/mbogoevici/reactive-data-pipelines-with-spring-xd-and-kafka

In the recent years, drastic increases in data volume as well as a greater demand for low latency have led to a radical shift in business requirements and application development methods. In response to these demands, frameworks such as RxJava and high throughput messaging systems such as Kafka have emerged as key building blocks. However, integrating technologies is never easy and Spring XD provides a solution. Through its development model and runtime, Spring XD makes it easy to develop highly scalable data pipelines, and lets you focus on writing and testing business logic vs. integrating and scaling a big data stack. Come and see how easy this can be in this webinar, where we will demonstrate how to build highly scalable data pipelines with RxJava and Kafka, using Spring XD as a platform. In the recent years, drastic increases in data volume as well as a greater demand for low latency have led to a radical shift in business requirements and application development methods. In response to these demands, frameworks such as RxJava and high throughput messaging systems such as Kafka have emerged as key building blocks. However, integrating technologies is never easy and Spring XD provides a solution. Through its development model and runtime, Spring XD makes it easy to develop highly scalable data pipelines, and lets you focus on writing and testing business logic vs. integrating and scaling a big data stack. Come and see how easy this can be in this webinar, where we will demonstrate how to build highly scalable data pipelines with RxJava and Kafka, using Spring XD as a platform.

Read more...

This Week in Spring - May 19th, 2015

Welcome to another installment of This Week in Spring! As usual, we’ve got a
lot to cover this week so let’s get to it!

Read more...

Spring Batch 3.0.4.RELEASE is now available

We are pleased to announce that Spring Batch 3.0.4.RELEASE is now available via Maven Central, Github and the SpringSource download repository. This is the 4th maintenance release for the 3.0.x branch of Spring Batch and addresses a number of bugs and a few minor enhancements. Many thanks to all of those who submitted the many pull requests that went into this release.

Spring Batch Home | Source on GitHub | Reference Documentation

We look forward to your feedback in Jira, StackOverflow, or to me directly via Twitter @michaelminella.

Read more...

SpringOne2GX 2014 Replay: Philosophical Architecture in Grails

Recorded at SpringOne2GX 2014.

Speaker: David Dawson, Simplicity Itself

G&G Special Topics

Slides: http://www.slideshare.net/SpringCentral/s2gx-philosophicalarchitecture

Software development is hard. Life is hard. We try to keep up with a changing world, and it's hard. Where though, does the problem lie? In this talk, David, CEO at Simplicity Itself, will describe a different way of approaching the problem of software development, a different way of trying to keep up with a changing world. This is not a soft talk, all opinions are backed up by cold hard code in a running Grails application, showing how a change in the way you think can radically change your software.

Read more...

SpringOne2GX 2014 Replay: Groovy Vampires: Combining Groovy, REST, NoSQL, and more

Recorded at SpringOne2GX 2014.

Speaker: Kenneth Kousen

G&G Special Topics

Slides: http://www.slideshare.net/SpringCentral/groovy-vampires

If a book as horrible as Twilight can sell millions of copies and be made into an even worse movie, how many copies can a book with Groovy vampires sell? (Spoiler: Not as many.) Yes, this topic may be silly, but the technologies used (Groovy, Ratpack, MongoDB, Grails, REST) are (un)deadly serious.

 

Read more...