This Week in Spring - October 4th, 2016

Engineering | Josh Long | October 04, 2016 | ...

Welcome to another installment of This Week in Spring! We've got a lot to look at so let's get to it!

This Week in Spring - September 27, 2016

Engineering | Josh Long | September 27, 2016 | ...

Wow! It's already almost October! This year has sure gone by quickly!

Welcome to another installment of This Week in Spring! This week I'm in the studio with Phil Webb recording the next installment of our Livelessons series on building Microservices with Spring Boot. It's been a lot of fun so far and we've only just begun!

Tonight, I hope you'll join me for Cloud Native Java on the vJUG's worldwide and live event going on in timezones all around the world!

We've got so much to cover, so let's get to it!

New in Spring 5: Functional Web Framework

Engineering | Arjen Poutsma | September 22, 2016 | ...

As mentioned yesterday in Juergen's blog post, the second milestone of Spring Framework 5.0 introduced a new functional web framework. In this post, I will give more information about the framework.

Keep in mind the functional web framework is built on the same reactive foundation that we provided in M1 and on which we also support annotation-based (i.e. @Controller, @RequestMapping) request handling, see the M1 blog post for more on that.

Example

We start with some excerpts from our sample application. Below is a reactive repository that exposes Person objects. It is quite similar to a traditional, non-reactive repository, except that it returns Flux<Person> where you would return a List<Person> traditionally, and Mono<Person> where you would return a Person. Mono<Void> is used as a completion signal: to indicate when the save has been completed. For more information on these Reactor types, refer to Dave's blog post

This Week in Spring - September 20, 2016

Engineering | Josh Long | September 20, 2016 | ...

Hello world! Since we last talked, I've been in multiple cities in China, including Hangzhou, Shanghai, Beijing, Guangzhou, Shenzhen and Hong Kong, talking to customers and community members alike. It's fascinating to see what our amazing customers in China do with our technologies in the hypercompetitive Chinese market. And, tasty!

This Week in Spring - September 13, 2016

Engineering | Josh Long | September 13, 2016 | ...

Welcome to another installment of This Week in Spring! It's been an amazing week here in China, hanging out with Alibaba and Huawei, bringing the Spring. This week it's off to Shanghai, Beijing, Guangzhou, Shenzhen and Hong Kong!

Our pal Pieter Humphrey has been busy this week getting the SpringOne Platform 2016 videos up and online for us to enjoy so there's a lot of good stuff this week! Thanks Pieter!

This Week in Spring - September 6th, 2016

Engineering | Josh Long | September 06, 2016 | ...

Welcome to another installment of This Week in Spring! This week I'm in Shanghai, China and Hangzhou, China where I spoke at the ginormous Huawei Connect conference in Shanghai and where I'll be working with Alibaba and Huawei for a week or so. I'll also be speaking at the Hangzhou Java User Group, too.

(Can you believe we're already in September?? Seriously blown away! 2017 is just around the corner!)

I'm also, technically, on vacation, so I'll keep this post to a minimum! :)

Spring Security OAuth2 - Client Authentication Issue

Engineering | Joe Grandja | August 31, 2016 | ...

Issue #808 was recently reported that allowed a user to authenticate as a client and obtain an access token via the client_credentials or password grant flow.

This unique scenario occurs when a client and user have the same identifier (clientId and username). The user’s credentials are used for client authentication during a client_credentials or password grant flow and is successful in obtaining an access token with the authorities of the client.

The Fix

This bug has been fixed in 1ed986a and released in 2.0.11.RELEASE.

If you’re using Java-based configuration, please update to 2.0.11.RELEASE…

Custom test slice with Spring Boot 1.4

Engineering | Stéphane Nicoll | August 30, 2016 | ...

Spring Boot 1.4 includes a major overhaul of testing support and one of these features is test slicing. I'd like to take the opportunity in this blog post to further explain what it is and how you can easily create your own slices.

Test slicing is about segmenting the ApplicationContext that is created for your test. Typically, if you want to test a controller using MockMvc, surely you don't want to bother with the data layer. Instead you'd probably want to mock the service that your controller uses and validate that all the web-related interaction works as expected. This can be summarized in…

This Week in Spring - August 30th, 2016

Engineering | Josh Long | August 30, 2016 | ...

Welcome to another installment of This Week in Spring! This week I've been in San Francisco, (where I live and) where I addressed the Silicon Valley Spring User Group. Now it's off to beautiful China to bring some Spring and Pivotal (and, maybe, take a little vacation!)

As usual, we have a lot to get to so let's!

Spring Web Services 2.3.1/2.4.0 are released

Engineering | Greg L. Turnquist | August 29, 2016 | ...

Greetings Spring community,

Spring Web Services has just released versions 2.3.1.RELEASE and 2.4.0.RELEASE.

2.3.1.RELEASE is a minor patch release.

2.3.1 Release Notes | 2.3.1 Documentation.

2.4.0.RELEASE rebases Spring Web Services to run on Spring Framework 4.2.x & Spring Security 4.0.x, the stable baselines behind Spring 4.3/Spring Security 4.1. At the same time, it remains compatible with Java 7. This version includes changes to the code base making it forward compatible with Spring 4.3 and 5.0, so you are free to move up to whichever version of Spring/Spring Security you wish to use.

2.4.0 Release Notes | 2.4.0 Documentation

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