This Week in Spring - July 15th, 2014

Engineering | Josh Long | July 15, 2014 | ...

Welcome to another installment of This Week in Spring! It's been a crazy week and next week figures to be even crazier! Some of us on the Spring team - including Spring Boot co-lead Phill Webb, Spring Batch lead Michael Minella and myself, will be at OSCON next week, so if you're in the area and at the show come say hi! We'll be at the booth at various hours, too.

  1. Spring Batch lead Michael Minella has just announced Spring Batch 3.0.1, and a new Spring Batch extensions repository which itself houses new integrations with Spring Batch. The first contribution is an ItemReader and ItemWriter for Elasticsearch. Nice!
  2. Spring Data ninja Thomas Darimont has just announced support for SpEL in Spring Data JPA @Query annotations
  3. Spring and Groovy Tool Suite lead Martin Lippert has just announced Spring Tool Suite 3.6.0 and Groovy Tool Suite 3.6.0, based on Eclipse Luna 4.4, with support for Groovy 2.3, Grails 2.4, tc Server 2.9.6, and other minor improvements and bugfixes.
  4. Spring Data ninja Christoph Strobl has just announced Spring Data Evans m1, in which many new revisions are included.
  5. Speaking of the first milestone of Spring Data Evans, Spring Data REST ninja Greg Turnquist has just announced that Spring Data Evans M1 milestone comes with ALPS metadata support. FTA: ALPS provides a way to interrogate a RESTful service to find out about the data it serves. Let's look at a quick example. If you clone the TODO repo and run mvn spring-boot:run, you can surf it's values pretty easily. So.. check it out! I know many have been asking about simialar support.
  6. Check out this upcoming webinar by Michael Plod on why he recommends Spring - learn the technology (and a bit of the business) case! Michael is a great speaker and frequently appears at conferences. Register now for the event on July 22nd.
  7. On July 29th, Russ Danner from Crafter software will tell us about Conquering Content-enabled Web and Mobile Applications with Spring and Groovy.
  8. Andreas Eisele has put together a very nice introduction to the machinery behind using @Transactional in your Spring-managed unit-tests, with analysis of common scenarios, code, and more. Vert cool discussion, and a thoughtful post.
  9. The Cegega blog has a very cool look at handling exceptions using Spring Batch's RetryTemplate.
  10. This subject's near and dear to my hear this week, so I just wanted to share this oldie-but-a-goodie: how to use Atomikos with Spring's JTA support
  11. You are, of course, checking out Groovy-language lead Guillaume LaForge's This Week in Groovy, aren't you? :-)

Spring Data REST now comes with ALPS metadata

Engineering | Greg L. Turnquist | July 14, 2014 | ...

With the recent release of Spring Data's Evans M1 milestone, Spring Data REST now comes with support for ALPS metadata to describe the semantics of the resources exported.

ALPS is a data format for defining simple descriptions of application-level semantics, similar in complexity to HTML micro-formats. It also supports adding its metadata to existing media types. As of version 2.2 M1, Spring Data REST exposes JSON based ALPS resources that can help us navigate its resources. Let's see how!

We can start with a quick example. If you clone the TODO repo and run mvn spring-boot:run, you can…

Spring Tool Suite and Groovy/Grails Tool Suite 3.6.0 released

Releases | Martin Lippert | July 11, 2014 | ...

Dear Spring Community,

we are happy to announce the next major release of our Eclipse-based tooling today: The Spring Tool Suite (STS) 3.6.0 and the Groovy/Grails Tool Suite (GGTS) 3.6.0.

Highlights from this release include:

  • based on Eclipse Luna 4.4
  • support for Groovy 2.3
  • updated to Grails 2.4
  • updated to tc Server 2.9.6
  • minor improvements to the Gradle tooling
  • bugfixes, including fixes for endless build loops and memory leaks

To download the distributions, please go visit:

Detailed new and noteworthy notes can be found here: STS/GGTS 3.6.0 New & Noteworthy.

NOTE: Both tool suites ship on top of the latest Eclipse Luna 4.4 release as 64bit and 32bit based zip files only. There will be no native installers for STS/GGTS anymore.

From now on, we shift towards a slightly changed release schedule, shipping minor releases more frequently. Therefore 3.6.1 is scheduled to ship on…

Spring Batch Releases And A New Repository

Releases | Michael Minella | July 10, 2014 | ...

Today we are pleased to announce the release of Spring Batch 3.0.1, Spring Batch Admin 1.3.0.RC1, and introduce the Spring Batch Extensions project. These releases in addition to the Spring Batch Extensions project address a number of improvements and issues.

Spring Batch 3.0.1

This release of Spring Batch consists mainly of bug fixes, however, one new feature was added: ScriptItemProcessor. This ItemProcessor implementation provides the ability to use an external or inline script to provide the logic of your processor. An example of using Groovy inline would look something like this:

@Bean
public ScriptItemProcessor processor() {
    ScriptItemProcessor<String, Object> scriptItemProcessor = new ScriptItemProcessor<String, Object>();

    scriptItemProcessor.setScriptSource("item.toUpperCase();", "groovy");
    scriptItemProcessor.afterPropertiesSet();

    return scriptItemProcessor;
}

This ItemProcessor allows full support of all JSR-223 scripting options.

Spring Batch Admin 1.3.0.RC1

Spring Batch Admin 1.3.0.RC1 addresses a number of issues as well as updated it to be used with the Spring Batch 2.2.x version of the job repository and beyond. In addition to the issues addressed, we also completed a number of dependency updates to bring the project up to date from that perspective.

To support the users of Spring Batch 2.2.x, this release contains the Spring Batch Integration module and still uses Spring Integration 3. However, Spring Batch 3.0 saw us move this module to Spring Batch and so this will be the last release of Spring Batch Admin that contains this module. Going forward, users will be expected to use the version included within Spring Batch.

Spring Batch Extensions

Finally, we are happy to announce a new repository for Spring Batch, Spring Batch Extensions. This project provides a home for community contributed modules akin to Spring Integration Extensions. With this announcement, we have our first contribution, the spring-batch-elasticsearch module. This module provides an ItemReader and an ItemWriter for interacting with Elasticsearch. You can find information about this module and other contributions on Github. We look forward to future contributions from the community to help expand the available use cases for Spring Batch.

Please share your feedback on Stack Overflow, social media, and in person at SpringOne2GX!

First Milestone of Spring Data Release Train Evans Available

Releases | Christoph Strobl | July 10, 2014 | ...

We are happy to announce the first milestone of the Spring Data Release train Evans.

Spring Boot 1.1.4 released

Releases | Andy Wilkinson | July 08, 2014 | ...

We are pleased to announce that Spring Boot 1.1.4 has been released and is available from repo.spring.io and Maven Central.

This release addresses a number of bugs, adds support for the first stable release of Tomcat 8 (8.0.9), and also provides improved logging configuration that allows you to configure logging levels in application.properties or application.yaml. For a complete list of changes please refer to the issue tracker.

Thanks again to everyone who has contributed to the project.

Project Page | GitHub | Issues | Documentation

Spring IO Platform 1.0.1 released

Releases | Andy Wilkinson | July 08, 2014 | ...

We are pleased to announce that the first maintenance release of Spring IO Platform has been released. It's available from both repo.spring.io and Maven Central.

This release upgrades the versions of a number of the projects in the Platform to pick up their latest maintenance releases:

  • Spring AMQP 1.3.5
  • Spring Boot 1.1.4
  • Spring Batch 3.0.1
  • Spring for Apache Hadoop 2.0.1
  • Spring Framework 4.0.6

Project Page | GitHub | Issues | Documentation

Spring Session 1.0.0.M1 Released

Engineering | Rob Winch | July 08, 2014 | ...

I'm pleased to announce the release of Spring Session 1.0.0.M1.

Benefits

This project provides a number of benefits including:

  • Accessing a session from any environment (i.e. web, messaging infrastructure, etc)
  • In a web environment
    • Support for clustering in a vendor neutral way
    • Pluggable strategy for determining the session id
    • Easily keep the HttpSession alive when a WebSocket is active

Getting Started

Refer to the Quick Start section of the README to learn how to you can use Spring Session in your application.

Feedback Please

If you have feedback, I encourage you to reach out via github issues, via the comments section, or ping me on twitter @rob…

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