- Spring Data Commons 1.8.4 - Artifacts - JavaDocs - Documentation - Changelog
- Spring Data JPA 1.6.4 - Artifacts - JavaDocs - Documentation - Changelog
- Spring Data MongoDB 1.5.4 - Artifacts - JavaDocs - Documentation - Changelog
- Spring Data Neo4j 3.1.4 - Artifacts - JavaDocs - Documentation - Changelog
- Spring Data Solr 1.2.4 - Artifacts - JavaDocs - Documentation - Changelog
- Spring Data Couchbase 1.1.4 - Artifacts - JavaDocs - Documentation - Changelog
- Spring Data Cassandra 1.0.4 - Artifacts - JavaDocs - Documentation - Changelog
- Spring Data Elasticsearch 1.0.4 - Artifacts - JavaDocs - Documentation - Changelog
- Spring Data Gemfire 1.4.4 - Artifacts - JavaDocs - Documentation - Changelog
- Spring Data Redis 1.3.4 - Artifacts - JavaDocs - Documentation - Changelog
- Spring Data REST 2.1.4 - Artifacts - JavaDocs - Documentation - Changelog
The Spring Blog
Holy cats! Can you believe how close we are to SpringOne2GX? Last year we made a huge splash with the announcements of Spring Boot and Spring XD, both of which have recently hit 1.0 releases. I happen to know the next level looks like, and you're going to want to see it. Register now if you haven't already!
- Spring ninja Greg Turnquist wanted to replace one of the services used in the guides with something more family-friendly and so stood up a bespoke substitute using Spring! This is a really nice read, check it out!
- I hope you'll join me September 16th for a webinar looking at building microservices with Spring
- On September 23rd, join Joram Barrez and I for a webinar looking at how to build process-centric Spring applications with the open-source BPMN2 engine, Activiti
- Patrick Grimard did a really nice job introducing how to build Spring Boot applications using IntelliJ IDEA. Pretty obvious, I hope, but it's nice to have it in one place.
- The GeekAbyte shows how to implement a
HandlerMethodArgumentResolverin other to resolve and inject objects into Spring MVC controllers. This is a really powerful technique if you need it.
- This looks interesting - a (Swiss?) German workshop on building modern web applications using Spring IO and Angular.js. I wish I could go! Check it out if you're in the area - I'd love to know how it went and if the recording and/or slides are going to be available.
- Our pal Tomasz Nurkiewicz is at it again, this time with a look on building a URL shortner ("the new 'Hello, world!' in the IoT/microservice/era world" - ha!) in 42 lines of code. So... go, check it out!
- (Aforementioned Spring ninja) Greg Turnquist's writing a book on Spring Boot for PACKT, and he's just posted a summary of the latest chapter (on security) on his blog. This is exciting stuff - definitely intriguing, check it out! Rock on, Greg! (Did I mention he'll be at SpringOne2GX, too?)
- Pankaj Kumar introduces a simple Spring Data MongoDB example in this post
- This (Japanese-language) post (appears) to introduce basic dependency injection with Spring). Could do...
- This (Portuguese-language) post introduces how to create a Spring Security context in unit tests. This approach works, but readers should definitely check out some of the cool stuff Spring Security lead Rob Winch has been unveiling to support unit-testing secure applications recently...
- A few years ago I blogged about the amazing things the Alibaba group is doing to meet China-scale demand with Spring. They built an (open-source) framework called Dubbo (which sits on top of Spring), and this (Mandarin-language) post has a (simple) example demonstrating its use. Very cool!
I was recently made aware that a public API we were using for one of our guides contained objectionable material. After confirming this, I immediately responded that we would pick another source. Wishing to avoid such an issue in the future, I decided the best solution was to build our own RESTful quote service. So I decided to use the best tools to do so, the Spring stack, and was able to migrate the very next day.
Picking your tools
To kick things off, I made a check list of what I knew would be the right tools for the job of creating a RESTful web service.
Welcome to another installment of This Week in Spring! It's a few weeks before SpringOne2GX 2014, already! Time sure flies when you're having fun! The beginning of 2015 will mark the 4th year of This Week in Spring, and it's more exciting every week! I'm hoping to see as many of you as possible at SpringOne2GX 2014. This is sure to be an amazing event.
Anyway, with that out of the way, let's get on to this week's roundup!
- Spring Security lead Rob Winch just announced Spring Security 4.0.0.M2, which
provides a lot of great features, including improved Security-aware testing support, Spring Data integration, support for websocket security, and ties into the nascent Spring Session projet that was derived from the work for this release. Check it out! Rob also announced Spring Security 3.2.5 and 3.1.7 which is a fix that closes a few potential security holes. This is good stuff, all around!
- Spring framework 4.1.RC2 just dropped. Spring 4.1 is very near completion, so be sure to check out the latest and greatest bits in this release!
- Christoph Strobl just announced the first RC for the Spring Data Evans release train. The new release includes a lot of features, including text search integration for Spring Data MongoDB, improved multistore support, configuration options for Redis sentinels, and much more.
- Our friends at Codecentric have just announced a new cut of their custom Spring Boot autoconfiguration for Spring Batch. This implementation is different than the auto-configuration provided out of the box with Spring Boot, and includes support for JSR 352.
- Netflix Developer Dan Woods recently gave a nice talk looking at what they hope to get out of the Spring Boot-based Grails 3, and the slide deck is definitely worth a look.
- The Being Java Guys blog has a nice post on how to build a REST service with Spring 4 and Hibernate 4. The example uses
web.xmland Spring XML configuration. It's a working recipe, but I hope readers will remember that you can get the same done with Spring Boot in much less time and code.
- Oracle has particular support for Spring-based applications in WebLogic 12.1.3 which, I confess, I didn't know about. This is a pretty interesting read if you're on WebLogic.
- Tirthal's Java cafe blog takes a look at the recently announced Spring IO.
- This Vietnamese-language post on building a simple Spring-based web application was pretty straightforward, and worth a read.
- This post introduces how to integrate Spring Security 3.0.4 and GWT
I'm pleased to announce the release of Spring Security 4.0.0.M2 available in the Spring Milestone repository.
- This release contains a fix for CVE-2014-3527 which resolves an issue where a malicious CAS Service can impersonate another CAS Service when using proxy tickets.
- This release updates the transitive dependencies of the cas module to cas-client-core which has a fix for CVE-2014-4172. This issue was not in Spring Security itself, but the library in which it depends on.
On behalf of the team I am pleased to announce the second release candidate of Spring Framework 4.1 is now available from our milestone repository. This release includes over 70 fixes and improvements.
SpringOne 2GX 2014 is around the corner
Book your place at SpringOne in Dallas, TX for Sept 8-11 soon. It's simply the best opportunity to find out first hand all that's going on and to provide direct feedback. There will be deep dive sessions on Spring XD along with general Big Data talks to provide an introduction to the landscape and challenges in developing Big Data applications.
We are happy to announce the first release candidate of the Spring Data release train Evans. We ship the following modules:
- Spring Data Commons 1.9 RC1 - Artifacts - JavaDocs - Documentation - Changelog
- Spring Data JPA 1.7 RC1 - Artifacts - JavaDocs - Documentation - Changelog
- Spring Data MongoDB 1.6 RC1 - Artifacts - JavaDocs - Documentation - Changelog
- Spring Data Neo4j 3.2 RC1 - Artifacts - JavaDocs - Documentation - Changelog
- Spring Data Solr 1.3 RC1 - Artifacts - JavaDocs - Documentation - Changelog
- Spring Data Couchbase 1.2 RC1 - Artifacts - JavaDocs - Documentation - Changelog
- Spring Data Cassandra 1.1 RC1 - Artifacts - JavaDocs - Documentation - Changelog
- Spring Data Elasticsearch 1.1 RC1 - Artifacts - JavaDocs - Documentation - Changelog
- Spring Data Gemfire 1.5 RC1 - Artifacts - JavaDocs - Documentation - Changelog
- Spring Data Redis 1.4 RC1 - Artifacts - JavaDocs - Documentation - Changelog
- Spring Data REST 2.2 RC1 - Artifacts - JavaDocs - Documentation - Changelog
Welcome to another installment of This Week in Spring. We've got a lot of cool stuff happening and, as you might imagine, the entire team is abuzz in preparation for SpringOne2GX 2014, coming in just a few short weeks! If you haven't registered, now's the time to do so!
- Spring Security lead and all-around sleepless ninja Rob Winch has just announced that Spring MVC Test HtmlUnit 1.0.0.M2 has been released. This is an awesome release if you're trying to unit test real pages with Spring MVC
- Spring Boot 1.1.5 has just been released. The new release mainly addresses a few issues and is a recommended upgrade for all users.
- I really enjoyed this blog, ¿Qué es Spring Framework?, which tries to explain what the fundamental value of Spring is. Largely, the (Spanish language) article explains that Spring handles the lifecycle for objects in a consistent way. It's easy to plug in various frameworks, software, around the edges when the fundamental life-cycle is handled. I would point out that this post uses Spring 3.0 and XML configuration, which is a bit outdated, though certainly still works.
- The RebelLabs folks are back at it with an interesting look at web framework usage. Check out this latest report which has Spring MVC leading the charge (by a lot).
- This is a nice post looking at how to use Spring MVC (as part of Spring framework 4.x) to handle file uploads
- The Mr. Haki * blog has a nice post on analyzing dependencies using Gradle, with an example based on Spring Boot. Spring Boot, of course, is easy to get started with, can be used with Maven *or Gradle, and has numerous benefits, not the least of which being that it makes it dead simple to use Spring libraries in your project without worrying about version mismatches.
- Stuck on JAX-RS and JSF? Still want to use Spring Security? This post - from the JSF Usefullness post - has the code snippets that (sort of) demonstrate a path forward. Granted, you'll have an easier time of doing this using straight Spring. No need to add all that extra Java EE weight..
- This is a sort of oldie-but-a-goodie: a post on how to implement a JQuery-powered autosave example in Spring MVC
- This is a (particularly tortured) example of how to write a Spring application that uses Primefaces and runs on the Wildfly application server. I don't see why you'd need all this indirection when Spring has good JSF support out of the box. Additionally, there's no reason to recreate the
JdbcTemplateor inject an
ApplicationContextinto a bean. Maybe it'll help somebody as a first-cut, though.
This release addresses a number of issues and is a recommended upgrade for all Spring Boot users. For a complete list of changes please refer to the issue tracker.