This Week in Spring (SpringOne2GX 2014 edition!) - September 9, 2014

Engineering | Josh Long | September 09, 2014 | ...

Welcome to another installment of This Week in Spring, live from SpringOne2GX 2014! This year's show is something to behold! We kicked off the show yesterday with one amazing keynote here in the "lone-star state" featuring Pivotal SVP of engineering Hugh Williams, the Spring team leads Juergen Hoeller, Dave Syer, Graeme Rocher and and Netflix's Andy Glover.

We'll do some recap blogs, of course, so stay tuned. Before we get started with this week's roundup, check out this video of the SpringOne2GX 2014 logo being projected onto the Dallas Omni hotel!

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

And, while this is nothing like what the recording (which'll be available soon, anyway..) or even a well-written recap (stay tuned! Also coming..) would be, here are some choice tweets from last night's keynote to whet your appetite:

Indeed, even the week leading up to SpringOne2GX has been epic as the team's busily been releasing new, exciting bits for us to use! This week's roundup is packed with good stuff.

  1. Just in time for SpringOne2GX, Spring lead Juergen Hoeller has just announced that Spring 4.1 is now available! The new release is packed with great stuff including JMS annotations, comprehensive JCache (JSR 107) support, new Spring MVC views, websocket refinements, improved performance, and much more!
  2. Spring Boot co-lead Phil Webb has just announced Spring Boot 1.2.0.M1, hot on the heals of Spring Boot 1.1.6. 1.1.6 is a bug-fix that's highly recommended. 1.2.0.M1, on the other hand, is the first milestone of the very exciting 1.2 Spring Boot release. It's packed with new features: JTA support, easier consumption of JNDI-bound resources (a nice feature in its own right, but especially convenient in light JTA!), auto-configuration for the Spring Cloud PaaS connectors, easy SSL termination with Tomcat and Jetty, and improved metrics for DataSources and health indicators.
  3. Spring Data lead Oliver Gierke has just announced that Spring Data Evans has gone GA! The new release is crammed full of features! Redis Sentinel, ALPS and excerpt projections, multi-store configuration, a baseline of Spring 4.0, support for top and first as keywords in derived queries, MongoDB 2.6 full text, and much more.
  4. Continuing the data theme, Spring for Apache Hadoop ninja Thomas Risberg has just been released. The new release adds support for append-mode store writers, kerberos configuration for secured clusters, container grouping and clustering in Spring YARN, and it remains compatible with Hadoop 2.0+, Pivotal HD 2.0, Cloudera CDH5, and Hortonworks 2.1.
  5. I'll be giving two webinars soon: one on building microservices with Spring on September 16th, and the other on using the Activiti workflow engine with Spring on September 23rd. Register now and bring your questions, comments and more! We'll have lots to talk about and it should be a lot of fun!
  6. One of my heroes, Spring Integration ninja Artem Bilan has just announced the Spring Integration Java configuration DSL milestone 3. The blog has a list of the (many) new features and supporting code. I couldn't do it justice here, just check it out.
  7. Spring ninja and all-around-nice guy Andy Wilkinson has just announced the release of the Spring IO platform 1.0.2 release. The new release incorporates many new projects, so be sure to check it out. The Spring IO platform is an attempt at harmonizing dependencies across the many Spring projects so that, from the perspective of the dependency consumer, there's never any conflicts with common libraries.
  8. Spring Integration lead Gary Russell has just announced Spring AMQP (for Java) 1.4 milestone 1. The new release includes annotation support (@EnableRabbit) and annotation-driven message listeners (@RabbitListener). Huzzah! This mirrors the similar support for JMS in Spring 4.1.
  9. Artem is not here this week at SpringOne2GX for sad, complicated reasons (we miss you Artem!), but that didn't stop him from making quite a splash this last week first with the Spring Integration Java configuration DSL release (see above) and now the Spring Integration 4.1 Milestone 1 release. The Spring Integration release includes a lot of cool features, including the migration of common types to Spring 4 itself, performance improvements, the introduction of the Spring 4.1 SpEL compiler, web socket adapters (yes, web socket adapters!), http://github.com/projectreactor, a Boon-powered JSON mapper, an implementation of the EIP splitter pattern that can return an Iterator for results (and, thus, can stream them).
  10. Our pal Matt Raible took a look at using the Spring Boot-powered JHipster project. He hit some rough patches, but the blog provides all sorts of good information on how he got around it so that you can avoid them and really fly!
  11. The Blog4Java blog (run by our pal Javier Barquero) has a follow up post to his look at using Spring Batch
  12. And, of course, what SpringOne2GX would be complete without the annual press-release?
  13. There's an interesting post on the Chariot Solutions blog on converting a Spring Boot application from Java to Scala - definitely worth a look. Interestingly, it doesn't seem like you gain all that much over just using Java 8 in this particular example...
  14. Are you in the Dallas Fort Worth area? Since we're throwing SpringOne2GX 2014 in Dallas, we thought we'd take a moment to round up some.. ok a lot.. of the Spring team and head on over to the local Java user group (called the "Java Metroplex Users Group," or Java MUG for short) and say hi. I hope you'll consider joining us for what promises to be a really fun night!

Spring for Apache Hadoop 2.1.0.M1 Released

Engineering | Thomas Risberg | September 08, 2014 | ...

One year ago we released the first milestone release of the Spring for Apache Hadoop version 2.0 project, just in time for SpringOne 2GX 2013. To keep up the tradition, we are pleased to announce the first milestone release of Spring for Apache Hadoop 2.1, just in time for SpringOne 2GX 2014 in Dallas, TX. The release is now available in the Spring IO repository

Main changes for the 2.1.0.M1 release:

  • Added support for append mode in store writers
  • Enhancements for kerberos configuration for secured cluster access
  • Support for container grouping and clustering in Spring YARN, which brings functionality for running multiple container types, a new REST API and an improved application model with new client side commands and a command line shell.
  • Starting with this version we support Hadoop 2.0 APIs but no longer provide backwards compatibility with older Hadoop v1 distributions.

Join us at the Spring Data birds-of-a-feather session @springone2gx #s2gx

Engineering | Greg L. Turnquist | September 05, 2014 | ...

Are you ready for SpringOne? It's almost here!

A popular part of SpringOne are the birds-of-a-feather sessions. Different groups get together to talk about different aspects of Spring, Groovy, and Grails. This year, they are scheduled for Tuesday night, September 9th, starting at 9pm. (When do they end? When everyone finally leaves!)

They are indeed popular. Last year I sat in on the Spring Framework one and enjoyed the close, unscripted discussions (not lectures). You should think about carving out some time for that!

This year, we have a new session planned: Spring Data.

If you aren't aware…

This Week in Spring - September 2nd, 2014

Engineering | Josh Long | September 03, 2014 | ...

Welcome to another installment of This Week in Spring!

This is the last installment of TWiS before SpringOne2GX 2014 kicks off next week! I, personally, am very excited! I can't wait to see you all there. This is going to be so much fun. So, let's get on to it!

Spring guides make it easier to jump to core content

Engineering | Greg L. Turnquist | September 02, 2014 | ...

If you remember last year, we rolled out a powerful new website built top-to-bottom with Spring. It was fresh, new, and loaded with gobs of getting started guides.

Since then, the feedback has been overwhelmingly positive. We've had record traffic with a large portion visiting the guides. So what's new?

We recently added the ability to hide/show the build steps. Many people expressed the desire to skip project setup steps and instead jump to the core content. We listened and responded.

After reading over a guide, do you need Gradle or Maven build steps? No problem! Just click on the…

This Week in Spring - August 26th, 2014

Engineering | Josh Long | August 26, 2014 | ...

Holy cats! Can you believe how close we are to SpringOne2GX? Last year we made a huge splash with the announcements of Spring Boot and Spring XD, both of which have recently hit 1.0 releases. I happen to know the next level looks like, and you're going to want to see it. Register now if you haven't already!

Building a RESTful quotation service with Spring

Engineering | Greg L. Turnquist | August 21, 2014 | ...

I was recently made aware that a public API we were using for one of our guides contained objectionable material. After confirming this, I immediately responded that we would pick another source. Wishing to avoid such an issue in the future, I decided the best solution was to build our own RESTful quote service. So I decided to use the best tools to do so, the Spring stack, and was able to migrate the very next day.

Picking your tools

To kick things off, I made a check list of what I knew would be the right tools for the job of creating a RESTful web service.

Preview Spring Security WebSocket Support

Engineering | Rob Winch | August 21, 2014 | ...

[callout title=Updated Dec 11 2014]Although originally about Spring Security 4.0.0.M2, the blog has been updated to reflect improvements found in Spring Security 4.0 RC1.[/callout]

Introduction

Previously, an application could use Spring Security to perform authentication in a WebSocket application. This worked because the Principal of an HttpServletRequest will be propagated to the WebSocket Session.

The problem is that authorization was limited to handshake. This means that once the connection was made, there was no way to provide any granularity to authorization of the WebSocket application…

This Week in Spring-19th August 2014

Engineering | Josh Long | August 19, 2014 | ...

Welcome to another installment of This Week in Spring! It's a few weeks before SpringOne2GX 2014, already! Time sure flies when you're having fun! The beginning of 2015 will mark the 4th year of This Week in Spring, and it's more exciting every week! I'm hoping to see as many of you as possible at SpringOne2GX 2014. This is sure to be an amazing event.

Anyway, with that out of the way, let's get on to this week's roundup!

  1. Spring Security lead Rob Winch just announced Spring Security 4.0.0.M2, which

provides a lot of great features, including improved Security-aware testing support, Spring Data integration, support for websocket security, and ties into the nascent Spring Session projet that was derived from the work for this release. Check it out! Rob also announced Spring Security 3.2.5 and 3.1.7

This Week in Spring - August 12th, 2014

Engineering | Josh Long | August 12, 2014 | ...

Welcome to another installment of This Week in Spring. We've got a lot of cool stuff happening and, as you might imagine, the entire team is abuzz in preparation for SpringOne2GX 2014, coming in just a few short weeks! If you haven't registered, now's the time to do so!

  1. Spring Security lead and all-around sleepless ninja Rob Winch has just announced that Spring MVC Test HtmlUnit 1.0.0.M2 has been released. This is an awesome release if you're trying to unit test real pages with Spring MVC
  • Spring Boot 1.1.5 has just been released. The new release mainly addresses a few issues and is a recommended upgrade for all users.
  • I really enjoyed this blog, ¿Qué es Spring Framework?, which tries to explain what the fundamental value of Spring is. Largely, the (Spanish language) article explains that Spring handles the lifecycle for objects in a consistent way. It's easy to plug in various frameworks, software, around the edges when the fundamental life-cycle is handled. I would point out that this post uses Spring…

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