This Week in Spring - December 22, 2015

Engineering | Josh Long | December 22, 2015 | ...

Welcome to another installment of This Week in Spring! This week, many of us will be off for the Christmas holiday. If you celebrate, then let me wish you the Merriest of Christmases from our team. If you don't celebrate, we'll see you next week as we look at our annual This Year in Spring! and welcome 2016!

Holiday or not, there's a lot of great stuff to read this week so let's get to it!

  1. If you're using Spring Cloud Eureka and Jersey you may run into issues because Eureka itself uses Jersey 1.x where as Spring Boot's Jersey support is based on Jersey 1. Read how Aleksandar Stoisavljevic solved it

This Week in Spring - December 15th, 2015

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

Wow! It's December 15th, friends; many of us on this planet will soon celebrate a new year! Hopefully, you've done a better job than I have of getting all my new year's resolutions finished in time for 2016! If you haven't, at least catching up on the latest and greatest in the Pivotal community won't be insurmountable! Let's see what's happened this week..

Check out our new tutorial -> React.js and Spring Data REST

Engineering | Greg L. Turnquist | December 15, 2015 | ...

Greetings Spring Community,

I hope you enjoyed my blog series on React.js + Spring Data REST. In that series, you got to build up a rich web app with hypermedia controls, conditional operations, messaging, and security.

To make things even better, that series has been bundled up and converted into a tutorial:

Some key updates made along the way:

  • require.js has been replaced with webpack as the JavaScript module builder/loader of choice
  • The code is upgraded to ES6. This means that some of JavaScript's newest features like classes, arrow functions, and more are being used.
  • bower has been replaced by npm as the package manager of choice

Spring Boot Memory Performance

Engineering | Dave Syer | December 10, 2015 | ...

It has sometimes been suggested that Spring and Spring Boot are "heavyweight", perhaps just because they allow apps to punch above their weight, providing a lot of features for not very much user code. In this article we concentrate on memory usage and ask if we can quantify the effect of using Spring? Specifically we would like to know more about the real overhead of using Spring compared to other JVM applications. We start by creating a basic application with Spring Boot, and look at a few different ways to measure it when it is running. Then we look at some comparison points: plain Java…

This Week in Spring - December 8th, 2015

Engineering | Josh Long | December 08, 2015 | ...

Welcome to another installation of This Week in Spring! This week I'm in Chicago speaking to customers and then it's off to Washington D.C., and New York City for Cloud Native meetups! I hope you'll consider joining us at either event!

Time sure is flying! We're darned close to 2016!

Anyway, as usual, lots to cover so let's get to it!

This Week in Spring - December 1, 2015

Engineering | Josh Long | December 01, 2015 | ...

Wow! Can you believe we're already staring down 2016? Time sure flies! Remember, This Week in Spring was started the first week of 2011, so we'll soon mark the fifth anniversairry of TWiS!

This week I'm in Shanghai, China, for the Cloud Foundry Summit Asia and then off to Ft. Lauderdale, Florida, USA, for the Rich Web Experience! If you're in either place, don't hesitate to reach me!

As usual, we've got a lot to cover so let's get to it!

Migrating OAuth2 Apps from Spring Boot 1.2 to 1.3

Engineering | Dave Syer | November 30, 2015 | ...

There are some new features in Spring Boot 1.3 to do with OAuth2 clients and servers and Spring Security OAuth2. Some of those features were ported from Spring Cloud Security and hence were in the Angel release train of Spring Cloud, but are not in the Brixton release train. This article helps you navigate the changes and update any existing apps to use the new features.

Dependency Management

If you are not using Spring Cloud you should be able to just change the version number of your Spring Boot dependency. Since some of the OAuth2 features migrated from Spring Cloud Security to Spring Boot in 1.3, it is likely that things are slightly more complicated than that. A separate article deals with upgrading Spring Cloud apps from Spring Boot 1.2 to 1.3. If you are using the Spring Cloud Angel release train then you should consult that…

How not to hate Spring in 2016

Engineering | Phil Webb | November 29, 2015 | ...

Over the Thanksgiving weekend a 2014 article called "Why I hate Spring" by Sam Atkinson started doing the rounds on Twitter. It's always interesting to listen to criticisms to see what we can do to improve Spring, much of Spring Boot was born out of listening to people talk about the problems that they faced with the framework.

In this blog post, I'll try to address some of the concerns discussed in Sam's article, and describe my personal Spring "best practices". Before we get too much into the details though, it's worth considering why less than optimal ways of doing things still exist in the…

Migrating Spring Cloud Apps from Spring Boot 1.2 to 1.3

Engineering | Dave Syer | November 25, 2015 | ...

There are some interesting new features in Spring Boot 1.3 that are now available in Spring Cloud in the Brixton release train. The Angel release train of Spring Cloud is partly incompatible with Spring Boot 1.3, so when you upgrade there are some important things to be aware of. This article helps you navigate the changes and update any existing apps to use the new features. It should also be helpful generally when trying to adopt new versions of Spring projects into existing codebases.

TIP: You can use mvn dependency:tree or gradle dependencies to list the dependencies in your project and check the versions.

This Week in Spring - November 23, 2015

Engineering | Josh Long | November 24, 2015 | ...

Welcome to another installation of This Week in Spring! Here in the US it's the week of Thanksgiving, where - hopefully - we take a moment to note the many things for which we're thankful. I'm sure I speak for the whole team here at Pivotal when I say: we're thankful for you, dear community. Thank you.

And so, as usual, we've got a lot to get to it. All the better, in fact, for the lazy hours after turkey!

  • Dr. Mark Pollack has just announced the release of Spring XD 1.3 GA and Spring Flo for Spring XD 1.0. This is a huge release! Spring XD 1.3.0 supports job composition DSLs, Spring Flo for Spring XD, an improved Admin UI, Spark 1.3.1, updates to the Spring Data and Spring for Hadoop distributions, a Cassandra Sink and much more! It is also the last in the line before Spring XD completes its journey to the archhitecture already partially laid out in Spring Cloud Stream and Spring Cloud Dataflow! This is an exciting evolution of the technology!
  • Spring Security and Spring Session lead Rob Winch has just announced Spring Session 1.1.0.M1 complete with a lot of new features: searching HTTP sessions by username, HttpSessionListener support, customized Cookie creation, overriding the default RedisSerializer

Get the Spring newsletter

Thank you!

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Spring Runtime 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