The Spring Blog

News and Events

Webinar Replay: Multi-Client Development with Spring

No application is an island and this is more obvious today than ever as applications extend their reach into people’s pockets, desktops, tablets, TVs, Blu-ray players and cars. What’s a modern developer to do to support these many platforms? In this talk, join Josh Long to learn how Spring can extend your reach through (sometimes Spring Security OAuth-secured) RESTful services exposed through Spring MVC, HTML5 and client-specific rendering thanks to Spring Mobile, and powerful, native support for Android with Spring Android.


SpringOne 2GX 2012 Replays: Addressing Messaging Challenges Using Open Technologies, Introduction to Spring Integration and Spring Batch

Addressing Messaging Challenges Using Open Technologies

For Modern Applications Many businesses are faced with some new messaging challenges for modern applications, such as horizontal scalability of the messaging tier, heterogeneous messaging systems and access methods, and extreme transaction processing. This presentation/demo will cover how businesses can overcome these messaging challenges with the use of Spring and RabbitMQ technologies.

Tom will build a case for AMQP, explain how SpringSource is providing AMQP support via Spring AMQP and Spring Integration, explain how RabbitMQ is a modern messaging solution that offers a reliable, highly available, scalable and portable messaging system with predictable and consistent throughput and latency, and demonstrate how Spring Integration and RabbitMQ can be progressively introduced into a standard Spring web application.


SpringOne 2GX 2012 Replays: Spring Data Repositories Deep Dive, Intro to Cascading

Spring Data Repositories – A Deep Dive

The repository abstraction layer is one of the core pieces of the Spring Data projects. It provides a consistent, interface-based programming model to allow implementing data access layers easily. The talk will start with a brief introduction and dive into best practices and implementation patterns later one.

We will conclude the session with an overview over what can actually be built on top of this generic repository abstraction and discuss integration hooks into Spring MVC and REST webservices.


SpringOne 2GX 2012 Replays: Getting started with Spring Data and Distributed Database Grids + Whoops, where did my architecture go

Getting started with Spring Data and Distributed Database Grids

Alternative data persistence approaches are all the rage these days. Transitioning our skill sets and legacy applications to these new and promising technologies though can be problematic. Spring Data is an exciting solution to persistence proliferation. It brings the flexibility and familiarity of the Spring Framework and adds the concepts of Repositories which allow developers to write their programs to using familiar methods such as save, update, delete, and dynamic finders.

In this presentation we will introduce Spring Data for GemFire and how it leverages your existing Spring Framework skills to create generic Spring style interfaces which will make it more efficient to transition to distributed data grids such as GemFire.


SpringOne 2GX 2012 Replays: Monitoring and Managing Spring Integration, Building Big Data Pipelines with Spring Hadoop

In this presentation we will discuss the options for managing and monitoring applications that use Spring Integration. It will provide a comprehensive overview of the extensive support for JMX provided by Spring Integration, both in terms of providing access to Spring Integration internals, as well as creating a JMX client to interact with local and remote MBeanServers.

In addition, we will show how to use the Spring Integration plugin for Spring Insight to drill down into Spring Integration flow processing to examine application performance.

Topics include:

  • 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 it’s attributes and operations.

  • Using the Control Bus to start and stop endpoints.

  • Using the Spring Integration plugin for Spring Insight to get a real-time view of your application and its performance.

  • Enabling and using Message History

  • Using the orderly shutdown mechanism available in Spring Integration 2.2.

  • Using JMX endpoints (with local and remote MBeanServers) to monitor attributes. invoke operations, publish notifications, and receive notifications.


SpringOne 2GX 2012 Replays: Ten Great Reasons to Virtualize Java Applications, What's New in CloudFoundry

Ten Great Reasons to Virtualize Your Java Apps

Customer interest in virtualizing Java workloads has been growing exponentially year on year. For the last few years, the focus has been largely around looking for best practice guidance to mitigate concerns around virtualizing Java workloads, particularly in the area of performance. Since joining VMware, SpringSource has been investing in providing first class support for the Java runtime on vSphere with products such as EM4J. Combined with the industry-leading capabilities of the vSphere platform and the growing product portfolio around the Java ecosystem, there are many great reasons to virtualize Java.

So rather than continuing to ask the question, is it OK to virtualize Java, this session boldly aims to suggest that you would be crazy not to!


SpringOne 2GX 2012 Replays: Client Side UI Smackdown, Making Connections with Spring Social

Making Connections with Spring Social

The modern web is rich with APIs that can be consumed by other applications, enabling an integrated experience for the users who hold accounts on the websites that front those APIs. Many of these APIs are secured with OAuth, an authorization specification for securing REST APIs. Spring Social is an extension to the Spring Framework that enables Spring applications to establish connections with those APIs on behalf of their users with little or no need to muck about in the intricacies of OAuth.

In this session, we’ll explore how Spring Social brings API connectivity to Spring applications. We’ll also uncover the newest features of Spring Social that make it easier than ever to link your application’s users to the identities they maintain on various sites across the web.


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.