This Week in Spring - December 3rd, 2013

Engineering | Josh Long | December 03, 2013 | ...

Welcome to another installment of This Week in Spring! This week I'm in Sofia, Bulgaria, talking to the great folks at the amazing Java2Days conference. This is my 5th year here and it's been an amazing show every time!

  1. Spring Integration 3.0 RC1 is now available! The new release features many nice, new features including a file-tailing inbound adapter, a JMX inbound adapter, redis queues, and much more.
  2. Don't miss Matt Stine as he discusses Spring with Immutability on Dec 10th!
  3. The replay of my webinar from last week, Have You Seen Spring Lately?, is now available online! The talk is a sort of introduction to the Spring IO platform, introducing many of the awesome technology released since the Spring team became part of Pivotal. It also introduces some new tech inside of Spring 4, as well as some oldies-but-goodies like Spring Social and Spring Batch, which continue to grow.
  4. Ben Hale's epic talk from SpringOne2GX 2013 which introduces REST API Design is now available online.
  5. Looking to get started quickly with Spring and application development? Check out this webinar replay of the SpringOne2GX 2013 talk introducing Spring Boot!
  6. InfoQ has a great post on how to use Spring Boot in conjunction with the Aerospike database
  7. Want to integrate a custom single-sign on authentication provider using Spring Security? This Stack Overflow discussion on integrating a custom single sign-on provider is very helpful! (I got this from the always-useful @SpringTip Twitter account)
  8. Xavier Padró's put together a nice post on how Spring Integration error handling works.
  9. Sergi Almar (@SergiAlmar) has put together a really great presentation on using Spring 4's websocket support. Definitely check it out!
  10. Also from @SpringTip, a great Stack Overflow post on how to filter database records using Spring Data REST and Spring MVC
  11. Nicolas Frankel is back at it again, this time with a nice post on using Spring Data SOLR

Spring Framework 4.0 RC2 available

Releases | Phil Webb | December 03, 2013 | ...

Spring 4.0 RC2 has been released and is now available from the SpringSource repository.

This will be the final release candidate before GA, so please give it a try and let us know if you find any issues.

If you are Maven user you may be interested in the new "bill of materials" POM that we have published with this release. You can import the spring-framework-bom project in your dependency management section to ensure that you get consistent Spring Framework dependencies. This is particularly useful when you work with other projects that may have transitive dependencies to earlier versions of…

Spring Framework 4.0 and Java Generics

Engineering | Phil Webb | December 03, 2013 | ...

With the recent RC2 release of Spring Framework 4.0; and GA due before the year's end, here is a little teaser of some of the changes that should improve your life if you work with Java generic types.

Spring has had pretty good Java generics support for a while. For example, with version 3.2 you can easily inject all beans of a specific type into a generic List just by using the @Autowired annotation:

@Autowired
private List<MyType> beans; 
// all beans that extends MyType will be injected

Spring's conversion service, binding system and Web MVC framework are all 'generic aware' and there are also the handy GenericCollectionTypeResolver and GenericTypeResolver

Webinar Replay: Have you seen Spring Lately?

News | Chloe Jackson | December 02, 2013 | ...

Speaker: Josh Long

It's been an amazing year for Spring! 2013 saw the Spring family join Pivotal where - along with Cloud Foundry and our data driven technologies (the Pivotal HD Hadoop distribution, the GemFire data grid, and the RabbitMQ message broker) - Spring supports today's application workloads and profiles. Today's Spring embraces Java 8, Scala, Groovy, provides a best-in-class REST stack, supports the open web, mobile applications, big-data applications and batch workloads. Today's Spring is easy to get started with, easy to learn, and embraces conventions over configuration. Today's Spring is part of the Spring.IO platform. Today's Spring is...Pivotal. Join Spring developer advocate Josh Long as he re-introduces you to today's Spring, a Spring you may not have seen yet.

!{iframe width="420" height="315" src="//www.youtube.com/embed/_twyZL_AGCI" frameborder="0" allowfullscreen}{/iframe}

SpringOne2GX 2013 Replay: REST-ful API Design

News | Chloe Jackson | December 02, 2013 | ...

Speaker: Ben Hale

As data-driven applications become more widespread, the services that provide the data are becoming more critical. Most commonly these data services are exposed via REST-ful APIs. This session describes what exactly makes a service REST-ful, how to implement a REST-ful API using Spring, and how to test that API.

Make sure to check out Ben's follow on talk from SpringOne2GX2013: REST-ful API Evolution for a great discussion of API loose coupling with HATEOAS.

http://projects.spring.io/spring-framework/ (spring MVC's REST controller)

http://projects.spring.io/spring-hateoas/ (Hypermedia Support)

http://projects.spring.io/spring-data-rest/ (Data REST)

!{iframe width="560" height="315" src="//www.youtube.com/embed/oG2rotiGr90" frameborder="0" allowfullscreen}{/iframe}

Spring Integration 3.0 Release Candidate 1 is Now Available

Releases | Gary Russell | November 27, 2013 | ...

We are extremely pleased to announce that Spring Integration 3.0.0.RC1 is now available in the Spring Milestone Repo

This release uses Spring Framework 3.2.5 by default but is also compatible with Spring 3.1.x and 4.0.x.

The release notes, showing changes since milestone 3, are available here.

##First, a Note About Spring Framework 4 Support

Spring Framework 4.0 has a new spring-messaging module that contains a number of key abstractions from Spring Integration.

Spring Integration 3, while being compatible with Spring Framework 4, does not depend on it, and does not use these classes, so that it can also be used with Spring Framework 3.2 and 3.1.

This Week in Spring - November 26th, 2013

Engineering | Josh Long | November 27, 2013 | ...

Welcome to another installment of This Week in Spring! This week I'm in Gothenburg, Sweden talking to developers at the JDays 2013 conference about Spring. What a great crowd and a great reception. It's been a blast, but I'm headed home soon to scarf down some turkey with friends and family! If you celebrate the US Thanksgiving holiday, let us be the first to wish you a very happy holiday!

  1. Spring Batch lead Michael Minella has announced that Spring Batch 2.2.3 is now available!

Spring Batch 2.2.3.RELEASE is now available

Releases | Michael Minella | November 22, 2013 | ...

We are pleased to announce that Spring Batch 2.2.3.RELEASE is now available via Maven Central, Github and the SpringSource download repository. This is the 3rd maintenance release for the 2.2.x branch of Spring Batch and addresses a number of bugs and documentation updates. 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 the forum and issue tracker.

Spring Best Practices & Cloud Foundry Event in Bangalore

News | Mark Baars | November 21, 2013 | ...

We are glad to announce that we will host a free conference about Spring and Cloud Foundry on Sunday November 24th at the office of SpringPeople in Bangalore, from 10.00 AM to 12.30 PM.

You can register by clicking here, make sure to register in time since we have limited seats available for this free event.

The event sessions include:

  • Cloud Foundry: Using Spring to Deploy your Apps to the Cloud by Paul Chapman

Paul Chapman is a Senior Consultant within our Australian service delivery division, where he undertakes consulting, training and mentoring of our clients across Asia-Pacific. He…

First milestone of Spring Data release train Codd released

Releases | Oliver Drotbohm | November 21, 2013 | ...

I am happy to announce the first milestone of the next Spring Data release train named Codd. We welcome two new members to the train: the Spring Data Solr community project as well as Spring Data REST. We've fixed 109 tickets for this first milestone. The full list of participating modules looks as follows:

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