The Spring Blog

News and Events

SpringOne 2GX 2012 Replays: Automated Provisioning of Spring Apps to EC2 & VMware vCloud, Addressing the Big Data Challenge with a Graph

Automated Provisioning of Spring Apps to EC2 & VMware vCloud

This session will focus on deploying and managing your Spring Application in the cloud using VMware vFabric Application Director. A series of Spring applications, increasing in complexity, will be deployed. The deployments will cover generating property files and activating Spring profiles. Some other highlights of the presentation will be deploying to VMWare vCloud & EC2, updating an existing deployment, and some general tips & tricks.

The session will begin by using a simple contact application to be deployed as a standalone webapp with an in memory DB on single node, then it will continue with a more advanced example using PostgreSQL DB on a separate node, and finally demonstrate the use and configuration of an external DB & an Apache proxy. The session will conclude with the deployment and discussion of Nanotrader, a sample trading application, with complex requirements.


This Year in Spring - 25 December, 2012

Welcome back to another, very special holiday, and end-of-year installment of This Week in Spring!
If you’ve been a follower of this roundup, then you know that 2012’s been a very exciting year for Spring!
Let’s look at some of the highlights, first, before we get to our weekly roundup:

  1. Springing Forward Of course, this year saw the release of Spring 3.2, released a year exactly from the release of Spring 3.1, packed with new features and helping Spring retain its position as the premiere platform for building web applications. This year also saw many major improvements
    and iterations in the other Spring projects like Spring Integration 2.2.0 GA, Spring Data

  2. The Cloud
    Spring works very well on all cloud platforms, owing to the natural decoupling from the underlying platform that
    dependency injection provides, but it has always - and continues - to enjoy a special place in the sun on Cloud Foundry, the open source PaaS. And, what a year it’s been for Cloud Foundry! We’ve seen ecosystem partners like App Fog take the Cloud Foundry bits and run with them. We’ve seen the support for Spring applications on Cloud Foundry improve considerably with new features like standalone processes, and much more.

  3. The RESTful Web If you ask me, the most exciting part of this year was watching Spring’s web support improve. If you’re looking to build a web application (including in a Servlet 3 environment) or expose RESTful API endpoints, Spring MVC is the natural choice. If you want secure those RESTful endpoints,
    Spring Security OAuth is an easy to use binding that supports OAuth on top of REST. Need to connect to social service providers like Twitter, Facebook, LinkedIn and GitHub via OAuth? Use Spring Social. Want to support the principles of HATEOAS in your RESTful endpoints? Check out Spring HATEOAS. Do you want to transparently and easily expose Spring Data repositories for use as RESTful endpoints? You need look no further than Spring Data REST.
    There are no richer, more comprehensive or more integrated set of solutions for building rich, RESTful web applications than those that Spring provides today.

  4. Git’ing Involved This year, in particular, saw community interaction
    in the Spring open source projects skyrocket, now that all of the projects are all fully on Spring and the other projects have always been open source, but the collaboration model that Git enables has made it very easy for projects like
    Spring Social, Spring Integration, and Spring Data to thrive on community input and contributions.

  5. Extending the reach of SpringSource’s content We’ve been working hard to bring great content on all things SpringSource to all the developers, and have expanded
    a lot this year. For instance, besides publishing content here on, did you know
    that you can find SpringSource on @SpringSource on Twitter,
    +SpringFramework on Google+,
    on the YouTube SpringSourceDev channel and (this is particularly useful for the many fans in China) on SpringFramework on SINA Weibo? Additionally, if you like this roundup, be sure to bookmark the This Week in Spring aggregate page.

SpringOne 2GX 2012 Web Track: Designing REST-ful API using Spring 3, IOC in Javascript


Designing a REST-ful API using Spring 3

In the course of creating VAS, we did a lot of work to design a useful REST API.

REST is generally a very loose collection of principals that can be interpreted in many ways, so this talk would describe a more concrete idea of what a REST-ful API should look like.

In addition, the implementation of this API was done with many of the new features in Spring 3 and are a good demonstration of the power it provides.

About Ben Hale

Ben Hale

Ben Hale is a senior software engineer with Springsource and a core developer on the SpringSource dm Server project. Ben specializes in middleware development with using technologies such as OSGi and Aspect Oriented Programming as well as directing the build and release processes for all products in the Spring and SpringSource portfolios.

His interests include middle-tier architecture and effective build and release management strategies.

Prior to joining SpringSource, Ben spent several years leading teams in architecture and development of large-scale enterprise management applications for the telecommunications industry.



SpringOne 2GX 2012 Web Track: What's New in Spring MVC 3.2 + Extending Spring MVC with Spring Mobile and JavaScript


What’s New in Spring MVC 3.2

Following on Juergen’s talk on the upcoming Spring 3.2 release, this presentation will focus on what’s new specifically in the area of Spring MVC. The presentation will explain all noteworthy features and, as is usual with every new release, there will be a lot to discuss including Servlet-based async request support, content negotiation enhancements, REST error handling, @MVC test support, and much more. The talk does not provide an overview of Spring MVC but rather assumes a level of experience and focuses on covering what’s new.


Video: Spring Roo—Not Just another RAD Tool!

Most of you probably know Spring Roo as the Java-based rapid application development tool that uses AspectJ and a command-line shell to build Spring applications. But underneath those slick commands that set up your application components lurks an even more powerful and extensible platform, one that you can use to build anything you want.

In this presentation, SpringSource's Josh Long and Spring Roo in Action authors Ken Rimple and Srini Penchikala introduce Spring Roo 1.2, and then go further, exposing Roo's powerful addon-based underbelly. They introduce Roo's OSGi bundle support, and introduce how add-ons can be used to generate code, install templates, respond to addition / removal of annotations, and expose both open-source and internal-company libraries for use by your developers. Finally, they wrap up by discussing the recently developed Tailor add-on, and will show how it can be used to completely customize your developers' shell environment.


Video: Introduction to Spring Data Neo4j

View this webinar for a practical guide to get started with Spring Data Neo4j the integration library for the Neo4j graph database. This webinar is the perfect complement to the Good Relationships book and is aimed toward those interested in quickly learning how to get started using Spring Data Neo4j.

During this webinar we will cover:

  • Spring Data Neo4j's features and benefits
  • Spring Data Neo4j use case: A twitter-graph app using Spring Data Neo4j with Spring Social
  • Step by step demo to get started working on Spring Data Neo4j

Video: What's New in RabbitMQ - June 2012 Edition

In the last year and a half, RabbitMQ has seen six major new releases. In this talk, we briefly review messaging, RabbitMQ and the AMQP protocol before covering some of the new features including easier plugin management, new plugins and extensions, publisher confirms, dead lettering, and a new high availability feature based on mirroring queues across nodes in a cluster. Presenter: Jerry Kuch, Staff Engineer, VMware

Be sure to thumbs up the presentation if you find it useful and subscribe to the SpringSourceDev channel to see other recordings and screencasts.


Video: Managing and Monitoring Spring Integration Applications

This video discusses the options for managing and monitoring applications that use Spring Integration. Topics covered include:

  • using the Spring Integration plugin for Spring Insight to get a real-time view of your applications and its performance
  • using the Integration MBean Exporter and the MBeans it registers for analyzing messaging endpoints and channels
  • exporting the Integration MBean Exporter itself as an MBean, to gain access to its attributes and operations
  • using the <control-bus /> to start and stop endpoints
  • enabling and using Message History
  • previewing the orderly shutdown mechanisms being built into Spring Integration 2.2

Video: Spring Dependency Injection Styles

This video provides a tour of modern dependency injection and Spring container configuration styles, including those available in the Spring 3.1 release. Spring expert and long time committer, Chris Beams, shows by example the use of Java @Configuration classes, Annotated POJOs, and XML to wire up your application. The presentation covers not just how to configure the container to use these options, but will also discuss why you would choose one method over another, as well as how they can be mixed and matched.