This Week in Spring - June 23, 2015

Engineering | Josh Long | June 23, 2015 | ...

Welcome to another installment of This Week in Spring! I was in London, last week, for Devoxx UK. The show was a rousing success all around. I gave a talk, a workshop, and was delighted to participate in the closing keynote, too! This week I'm in Kraków, Poland, for Devoxx Poland (né 33rd Degree) which seems to be an amazing success as well! I want to thank the organizers (Mark Hazell and Grzegorz Duda of Devoxx UK and PL respectively) for inviting me - I haven't had this much fun in a while and I love the communities that both events serve.

In addition to being in the keynote, I was…

Spring Guides Move to Java 8

Engineering | Greg L. Turnquist | June 17, 2015 | ...

Perhaps you've noticed some recent articles lately?

Okay, those last two aren't articles, but were instead driven by the the rapid adoption of Java 8. Java 8 has been picked up by the development community FAST. Here on the Spring team, we believe strongly in adopting Java 8 for new applications. To support that and improve your own ability to move as well, we just updated all of the Spring Getting Started Guides

Spring XD Benchmarks Part 1

Engineering | Glenn Renfro | June 17, 2015 | ...

#Introduction#

A common question when developing streaming applications is, “How many events per second can you process?”. The primary purpose of this blog post is to answer that question without falling into the classic benchmarking conundrum of benchmarking versus "benchmarketing". The common approach with 'native' benchmarking applications provide by messaging middleware vendors is to focus on raw data transport speed, without serialization or deserialization of the message data and without any data processing. In Part 1 of the series, we will follow this approach.

Our tests used direct…

This Week in Spring - June 16th, 2015

Engineering | Josh Long | June 17, 2015 | ...

Welcome to another installment of This Week in Spring! This week I'm in sunny London for Devoxx UK where I'll be talking to developers about building cloud-native applications with Spring Boot, Spring Cloud, and Cloud Foundry. As usual, if you're in the area, hit me up. The big news this week is the Spring XD 1.2 GA blowing the doors off performance numbers! No benchmarketing here, everything is published and reproducible: Performance turning to get ~12 MILLION msg/sec with an in-memory transport and 2.6MILLION msg/sec when using Kafka (100 byte messages). Lots more detail in the

DevTools in Spring Boot 1.3

Engineering | Phil Webb | June 17, 2015 | ...

Spring Boot 1.3 will ship with a brand new module called spring-boot-devtools. The aim of this module is to try and improve the development-time experience when working on Spring Boot applications.

To use the module you simply need to add it as a dependency in your Maven POM:

<dependencies>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-devtools</artifactId>
    </dependency>
</dependencies>

or your Gradle build file:

dependencies {
    compile("org.springframework.boot:spring-boot-devtools")
}

Once included, the spring-boot-devtools module provides a number of nice features that we cover below (If you can't be bother to read the text, skip to the end of the post for a short video…

Cache auto-configuration in Spring Boot 1.3

Engineering | Stéphane Nicoll | June 15, 2015 | ...

Over the past year, we have significantly improved the cache abstraction, with support of JSR-107 (JCache) annotations and a better declarative model to share or externalize common settings. In Spring Boot 1.3, we now offer a comprehensive auto-configuration for it.

In a nutshell, the cache abstraction applies caching to methods, thus reducing the number of executions based on the information available in the cache. The caching logic is applied transparently: the method below will only be invoked if the specified ISBN is not already present in the books cache. Upon calling that method for a missing Book, the caches will be updated transparently so that a further call does not invoke the…

Introducing Spring Social Evernote

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

This post is a guest post by community member Tadaya Tsuyukubo (@ttddyy), creator of the Spring Social Slideshare project. Thanks Tadaya! I’d like to see more of these guest posts, so - as usual - don’t hesitate to ping me! -Josh

Spring Social Evernote is one of the community modules in the Spring Social ecosystem. It is a service provider implementation for Evernote. It allows developers to work with the Evernote SDK for Java with idiomatic Spring idioms.

Evernote takes a unique approach for providing their APIs to developers. They have created language specific SDKs based on Thrift serialization format. Dave Engberg, CTO of Evernote, explained the motivations for choosing Thrift in this blog

Feedback welcome: Spring 5 system requirements

Engineering | Juergen Hoeller | June 10, 2015 | ...

As you might have gathered from my Java EE 7 blog post, we are planning for a Spring Framework 5.0 generation with a 2016 availability horizon. We'll be tracking JDK 9's release candidates then since one of our key themes is comprehensive JDK 9 support.

The feature planning for Spring 5 is still in the works. We are going to present a more in-depth plan at SpringOne this year, so stay tuned! Nevertheless, I would like to take this opportunity to reach out to you for feedback about our intended system requirements:

We will definitely raise our minimum to JDK 8+. This is a prerequisite since it…

This Week in Spring - June 9th, 2015

Engineering | Josh Long | June 09, 2015 | ...

Welcome to another installment of This Week in Spring! What a week! This week I'm in Kansas City for the 6,000+-strong developer conference of a single company's developers and then it's back to New York City for QCon NYC where I'll be talking up building cloud-native applications with Spring Boot and Spring Cloud. If you're in either place be sure to reach out to me and let's talk shop (Spring, and, optionally, in Kansas City, BBQ..)

  • Spring co-founder and project lead Juergen Hoeller put together two must-read posts this week: the first looks at Java 8 and Spring 4 adoption. ALSO, much, much, much more importantly: HE MENTIONED THIS WEEK IN SPRING :D #WIN.
  • Juergen also posted is one of my favorite in years, a brutally honest look at the Java EE 7 landscape and the depressing lack of (big-vendor) supported implementations options for production-supported Java EE containers. You know, the man has a point..
  • The amazing Dr. Pollack (see above!) announced Spring XD 1.2 RC1. The new release is packed with lots of new stuff including an Apache Ambari plugin to package and deploy Spring XD into production, new analytics, new features and performance improvements for the Apache Kafka support, improved HA configuration for RabbitMQ, Sqoop metastore support, and a lot

CORS support in Spring Framework

Engineering | Sébastien Deleuze | June 08, 2015 | ...

For security reasons, browsers prohibit AJAX calls to resources residing outside the current origin. For example, as you're checking your bank account in one tab, you could have the evil.com website in another tab. The scripts from evil.com shouldn’t be able to make AJAX requests to your bank API (withdrawing money from your account!) using your credentials.

Cross-origin resource sharing (CORS) is a W3C specification implemented by most browsers that allows you to specify in a flexible way what kind of cross domain requests are authorized, instead of using some less secured and less powerful…

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