The Spring Blog

News and Events

Spring Social Facebook 2.0.1 Released

I’m pleased to announce the release of Spring Social Facebook 2.0.1.RELEASE. This maintenance release addresses a handful of bugs that were discovered following the 2.0.0.RELEASE two weeks ago. For complete details regarding this release, see the changelog.

Note that if you’re using Spring Social Facebook with Spring Boot, the Spring Boot starter for Spring Social Facebook still references 1.1.1.RELEASE. But you can override that by explicitly declaring the 2.0.1.RELEASE dependency in your Maven or Gradle build. See the Spring Social Showcase/Spring Boot example to see how this is done.


Binding to Data Services with Spring Boot in Cloud Foundry

In this article we look at how to bind a Spring Boot application to data services (JDBC, NoSQL, messaging etc.) and the various sources of default and automatic behaviour in Cloud Foundry, providing some guidance about which ones to use and which ones will be active under what conditions. Spring Boot provides a lot of autoconfiguration and external binding features, some of which are relevant to Cloud Foundry, and many of which are not. Spring Cloud Connectors is a library that you can use in your application if you want to create your own components programmatically, but it doesn’t do anything “magical” by itself. And finally there is the Cloud Foundry java buildpack which has an “auto-reconfiguration” feature that tries to ease the burden of moving simple applications to the cloud. The key to correctly configuring middleware services, like JDBC or AMQP or Mongo, is to understand what each of these tools provides, how they influence each other at runtime, and and to switch parts of them on and off. The goal should be a smooth transition from local execution of an application on a developer’s desktop to a test environment in Cloud Foundry, and ultimately to production in Cloud Foundry (or otherwise) with no changes in source code or packaging, per the twelve-factor application guidelines.


Spring Security Kerberos 1.0.0 Released

We are pleased to announce the release of Spring Security Kerberos 1.0.0.RELEASE. I would like to start by saying thank you for all community members who helped us by either creating PR’s for new features or simply providing feedback.

Here is a guick summary of changes what went through with two release candidates and a GA release:

  • We did a lot of housekeeping to put a whole project up-to-date due to a long overdue from a first milestone.
  • Spring team added KerberosRestTemplate while all other new features came from a community.
  • Community contributions are:
    • KerberosLdapContextSource which allows to authenticate against Windows AD with existing Kerberos credentials to get more info about a logged-in user.
    • Tweaks to Kerberos negotiation which allows better interoperability with WinRM.
    • Changes how SpnegoEntryPoint is used which allows to fallback to other authentication methods if Kerberos negotiation fails.
  • Samples has been re-written from scratch and are now Bootified to give better user exprerience.

This Week in Spring - April 21, 2015

Welcome to another installment of This Week in Spring! This week I’m in Bangalore, India, at the Great Indian Developer Summit. Lots of the Spring Team are at JAXConf in Germany this week as well.

A friendly reminder, if you’re in the south west region of Europe, and Barcelona, Spain, specifically, and looking for fun in the sun, I can think of no better option than Spring I/O Conference, which is next week. Don’t miss the many great talks from many amazing Spring team and Spring community members. I’ll be there and looking forward to meeting and seeing you all!


SpringOne2GX 2014 Replay: Centralized Application Configuration with Spring and Apache ZooKeeper

Recorded at SpringOne2GX 2014.

Speaker: Ryan Gardner,

Core Spring Track


Application configuration is an evolution. It starts as a hard-coded strings in your application and hopefully progresses to something external, such as a file or system property that can be changed without deployment. But what happens when other enterprise concerns enter the mix, such as audit requirements or access control around who can make changes? How do you maintain the consistency of values across too many application servers to manage at one time from a terminal window? The next step in the application configuration evolution is centralized configuration that can be accessed by your applications as they move through your various environments on their way to production. Such a service transfers the ownership of configuration from the last developer who touched the code to a well-versed application owner who is responsible for the configuration of the application across all environments. At, we have created one such solution that relies on Apache ZooKeeper to handle the storage and coordination of the configuration data and Spring to handle to the retrieval, creation and registration of configured objects in each application. The end result is a transparent framework that provides the same configured objects that could have been created using a Spring configuration, configuration file and property value wiring. This talk will cover both the why and how of our solution, with a focus on how we leveraged the powerful attributes of both Apache ZooKeeper and Spring to rid our application of local configuration files and provide a consistent mechanism for application configuration in our enterprise.


SpringOne2GX 2014 Replay: Groovy and Grails Puzzlers - Traps, Pitfalls, and End Cases

Recorded at SpringOne2GX 2014.

Speakers: Baruch Sadogursky, Frederic Simon - JFrog

G&G Special Topics


Remember the epic Java Puzzlers? Here’s the Groovy version, and we have some neat ones! Even though we are totally a Grails shop here at JFrog, some of these had us scratching our heads for days trying to figure them out. And there is more! Contributions from the truly Groovy senseis, including @glaforge, @aalmiray, @tim_yates, @kenkousen make this talk an unforgettable journey to Groovy's O_O.


Spring Integration Hazelcast Support 1.0 Milestone 1 is available

Dear Spring community,

We are pleased to announce the Milestone 1 for the Spring Integration Hazelcast Support project. Use the Milestone Repository with Maven or Gradle to try it in early access.

compile "org.springframework.integration:spring-integration-hazelcast:1.0.0.M1"

First of all, special thanks to Eren Avşaroğulları, who initiated the project and is a responsive and energetic contributor. Please, don’t miss his talk with us on SpringOne this year!


Spring Integration implements well-known Enterprise Integration Patterns and provides lightweight messaging within Spring-based applications and supports integration with external systems via declarative adapters. Spring Integration’s primary goal is to provide a simple model for building enterprise integration solutions while maintaining the separation of concerns that is essential for producing maintainable, testable code.


Spring at JAX Germany 2015

Spring at JAX Germany 2015

The Spring Team is stacked for JAX Germany - and yes - even with some native German speakers from engineering!

JAX Germany has an excellent lineup of Spring, Microservice, Cloud Native App and Big Data speakers over three days. 12 speakers from Pivotal, Siemens, Inovex, Adesso, and Oose Innvoative will deliver their expert perspectives on Spring, Microservices, REST, NetFlixOSS, Cloud Native Applications and Big Data. And here's the best thing: Hands on Workshops! Get hands on with Microservices and uber Java Blogger Eberhard Wolff. Also, an end-to-end API to web example - REST / Web App / Database from Oliver Geirke, our Spring Data Team lead. Also, you'll want to see former SpringSource CTO Adrian Coyler, and featured Pivotal speaker/engineer Dr. Dave Syer. If you want learn about how applications are being designed for Cloud Native Platforms, and what real code is shipping today for Java developers to get working with microservice architecture - ignore the fast followers and come hear from the leaders.