This Week in Spring - April 29th, 2015

Engineering | Josh Long | April 28, 2015 | ...

Welcome to another installment of This Week in Spring! This week, I'm in Barcelona, Spain for the Spring I/O conference.

(can you spot [your favorite Spring team](http://spring.io/team) or community member?)

Binding to Data Services with Spring Boot in Cloud Foundry

Engineering | Dave Syer | April 27, 2015 | ...

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…

This Week in Spring - April 21, 2015

Engineering | Josh Long | 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!

Without further ado, let's get…

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

Engineering | Pieter Humphrey | April 21, 2015 | ...

Recorded at SpringOne2GX 2014.

Speaker: Ryan Gardner, Dealer.com

Core Spring Track

Slides: http://www.slideshare.net/SpringCentral/zookeeper-config2014-2c-41123708

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 Dealer.com, 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.

 

Using Apache Kafka for Integration and Data Processing Pipelines with Spring

Engineering | Josh Long | April 15, 2015 | ...

Applications generated more and more data than ever before and a huge part of the challenge - before it can even be analyzed - is accommodating the load in the first place. Apache's Kafka meets this challenge. It was originally designed by LinkedIn and subsequently open-sourced in 2011. The project aims to provide a unified, high-throughput, low-latency platform for handling real-time data feeds. The design is heavily influenced by transaction logs. It is a messaging system, similar to traditional messaging systems like RabbitMQ, ActiveMQ, MQSeries, but it's ideal for log aggregation…

This Week in Spring - April 15th, 2015!

Engineering | Josh Long | April 14, 2015 | ...

Welcome to another installment of This Week in Spring! As usual, we've got a lot to discuss so let's get to it!

Last week I was in Paris, France, for Devoxx, FR, and this week I'm in India for the Great Indian Developer Summit and for some meetings ahead of the conference in Bangalore and Hyderabad. If you're in Bombay, Hyderabad, or Bangalore, and want to talk Spring, Cloud Foundry, and big-data, let me know!

In a week and some change, I'll be in Barcelona, Spain, for Spring I/O. If you're in Spain, be sure not to miss this amazing event! I, along with many other members of the Spring team…

This Week in Spring - April 7th, 2015

Engineering | Josh Long | April 07, 2015 | ...

Welcome to another installment of This Week in Spring! This week, I'm off to Paris, France for Devoxx France. Many of us on the Spring and Cloud Foundry teams will be there, so don't hesitate to reach out if you're about, we'd love to hear from you! Also, even if you're not at the show, come meet many of us on the Spring team (including Juergen Hoeller himself, Stéphane Nicoll, Brian Clozel, Sébastien Deleuze and of course yours truly) at this free Devoxx France event.

Also, this Thursday I'll be speaking at the vJUG again, this time on building microservices with Spring Cloud. Don't miss it!

Lattice and Spring Cloud: Resilient Sub-structure for Your Cloud-Native Spring Applications

Engineering | Matt Stine | April 06, 2015 | ...

We believe that the development of cloud-native application architectures is the next great evolutionary phase of enterprise application development. These architectures combine elements like twelve-factor applications, microservices, self-service agile infrastructure, API-based collaboration, and antifragility. All of these elements enable us to simultaneously move quickly and safely as we continuously deliver business value to our customers.

The Spring team's goal has always been to win the war on Java complexity, and now we're teaming up with our colleagues on the Cloud Foundry team to…

How Spring achieves compatibility with Java 6, 7 and 8

Engineering | Stéphane Nicoll | April 03, 2015 | ...

As of Spring Framework 4.0, Java 8 is supported as a first-class citizen and we've seen some confusion in the Spring community since then. How do we manage to support Java 8 and remain compatible with Java 6 and Java 7 after all? This blog post provides some insight into how we're handling this within the framework codebase.

Java 8 language features vs. Java 8 APIs

First, a distinction must be made between using new language features and new APIs in a given Java generation such as Java 8. If a class uses a Java 8 language feature such as a lambda expression, it has to be compiled with -source 1.8 -target 1.8 and therefore the whole compilation unit will only work on Java 8+. However, if a particular class in a library optionally uses a new Java 8 interface such as java.util.stream.Stream, the library can still run on a previous Java generation as long as it is being compiled with e.g. -source 1.6 -target 1.6 - and as long as the use of that particular

Check out Dave Syer's "Spring Security and AngularJS" blog series converted to tutorial

Engineering | Greg L. Turnquist | April 02, 2015 | ...

Greetings Spring community,

Dave Syer's six-part blog series on Spring Security and AngularJS has been a smash hit! It has echoed across the twittersphere, torn up DZone, and drawn people far and wide.

Did you miss any of it? Perhaps you've heard of it and found it too difficult to track down the first post. No more.

Please navigate to our newly minted Spring Security and AngularJS tutorial and enjoy all that solid gold. We migrated 100% of it into that tutorial, made slight edits to the links, and polished it up just for you.

Share and enjoy!

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