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 14, 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!

Ongoing support for Java 7 (and even Java 6)

Engineering | Juergen Hoeller | April 01, 2015 | ...

You might have heard about the end of public updates for Java 7, coming up in just a few days with the release of Java 7 update 80. See the following Oracle pages for a reference:

https://blogs.oracle.com/java-platform-group/entry/future_updates_of_java_7 http://www.oracle.com/technetwork/java/eol-135779.html

Let's clarify what it really is: the end of public updates, and by no means an end of life (EOL). With the second link above, scroll down to the "Oracle Java SE Support Roadmap" section and you'll find the actual EOL dates: Dec 2018 for Java 6 and Jul 2022 for Java 7. Yes, that's another…

This Week in Spring - March 31, 2015

Engineering | Josh Long | March 31, 2015 | ...

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

  • Spring Security lead Rob Winch just announced the amazing Spring Security 4.0 release! This one is packed with amazing features including websocket support, Spring Data integration, enhanced testing support, and much improved defaults
  • The Cloud Foundry Java buildpack now supports overriding inbuilt configuration through the use of well-named environment variables! This means you can tweak all manner of the default behavior without needing to fork the buildpack!
  • Good news! Spring XD 1.1.1 is released! It includes improved performance and offset management when using Kafka message bus, support for Spark's streaming reliable receiver, Kryo serialization improvements, RabbitMQ auto-cleanup options and a Sqoop…

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