Spring REST Docs helps you to document RESTful services. It combines hand-written documentation written with Asciidoctor and auto-generated snippets produced with Spring MVC Test. This approach frees you from the limitations imposed by tools like Swagger. It helps you to produce documentation that is accurate, concise, and well-structured. This documentation then allows your users to get the information they need with a minimum of fuss.
The Spring Blog
Welcome to another installation of This Week in Spring! As usual we’ve got a lot to cover this week so let’s get to it!
- I love the new Spring Initializr!
- Spring Tool Suite lead Martin Lippert just announced STS 3.7.1
- Spring framework lead Juergen Hoeller has put together a lovely post that speaks to how to read claimed Java EE 7 proliferation
- Jaime Lopez - who was in some of my talks at Spring I/O in Barcelona, Spain, earlier this year - wrote an amazing introduction to Spring Boot - check it out!
- This blog nicely introduces using Spring’s
AbstractFeedView, powered by the ROME RSS and Atom library, to build feeds for a web application
- Want to run Spring Boot on the Glassfish-powered Payara Micro?
- Hey, the ProgrammingFree YouTube video channel has a nice post on using Spring Security and Spring to build a simple application
- the 4cats.io YouTube channel has all manner of cool Chinese-language videos on Spring Boot!
- David Parish put together a nice post on running Spring Boot applications on Websphere
- Alberto Souza put together a nice Portguese-language post on using Spring Integration
A reminder: Every time somebody shows you a survey result with a Java EE 7 usage column, in particular when talking about production usage, double-check what they actually asked for. Does Hibernate 4.3 usage count as Java EE 7, just because it’s JPA 2.1 (EE 7 level but run standalone)? Does Tomcat 8 usage count as Java EE 7, just because it’s Servlet 3.1? And of course, does running a Spring application with any such individual providers count as EE 7?
Take such statistics with a big grain of salt: They typically do not ask for “native Java EE 7 platform usage” but are being presented that way eventually. Why is it a safe assumption that they did not ask for full Java EE 7 platform usage in production? Well, remember my blog post from back in June, which is still as valid in late 2015. In the meantime, the only real news is that there is no news since IBM released their EE 7 support in WebSphere’s Liberty Profile. All in all, responders to such survey questions are likely to answer based on “I’m using one or more specifications from that umbrella”, not on “I’m using the full platform in its intended form”.
We’re happy to release today the new version of Spring Initializr at https://start.spring.io !
What started out as a small, in-house web application that generates Spring Boot projects, grew into something bigger than we expected. You can now use Spring Initializr on the web, in your favorite IDE (Eclipse STS and IntelliJ IDEA) and even with your command-line tools (try
In the meantime, the Spring portfolio is growing and we received a lot of useful feedback from the Spring community. Because nothing beats actual data, we’ve improved the service to export its metrics to a centralized redis instance, before the summer. This allows us to keep a reliable set of statistics for a long period of activity (and regardless of the number of instances we deploy on Pivotal Web Services).
Dear Spring Community,
I am happy to announce the 3.7.1 release of the Spring Tool Suite, our Eclipse-based tooling.
Highlights from this release include:
- updated to Eclipse Mars.1 (4.5.1), including a number of fixes for JDT and m2e
- updated to Pivotal tc Server 3.1.2
- various improvements to the Spring Boot YML properties editor
- improvements to the Spring Boot Starter wizard
- new support for Spring Boot Devtools, including ability to attach Java debugger to CF deployed apps.
- the new spring boot dashboard, currently in beta, but definitely the highlight of this release
Welcome to another installation of This Week in Spring! To those of you reading from the US, let me be the first to wish you a very happy national coffee day! As usual, we’ve got a lot to cover so let’s get to it!
- have you been checking out the Annotated Spring site? It’s wonderful! Packed with easily digsted screencasts on getting started with Spring (sort of like the Rails Casts of yore)
- our pal Greg Turnquist is at it again, with part 3 of his epic React.js and Spring Data REST tutorial
- not one to relax, Greg also posted an awesome new guide on building CRUD applications with Vaadin and Spring Boot
- Spring Data ninja Thomas Risberg has just announced Spring for Apache Hadoop 2.3 M3
- Spring Integration Java Config DSL lead Artem Bilan just announced the 1.1 GA release! This is a huge release with lots of good stuff, so check it out
- I just noticed this book by Geoffroy Warin, Mastering Spring MVC 4, is now available
- our pal Nicolas Frankel has put together a first look at understandig microservices with Spring Boot
- check out this 9 minute video clip on monitoring microservices from Phil Webb and my training video, Building Microservices with Spring Boot
- Rob Hinds has put together an introductory post to the Netflix OSS stack with Spring Cloud
- Want to get JSF running on Spring Boot?
- Boyko Dimitrov put together a nice post on using Spring Boot’s OAuth2 support with Google as a provider
- Christophe Labouisse is back with a post on managing Spring Boot logs with ELK and Docker
In the previous session, you found out how to turn on Spring Data REST’s hypermedia controls, have the UI navigate by paging, and dynamically resize based on changing the page size. You added the ability to create and delete employees and have the pages adjust. But no solution is complete with taking into consideration updates made by other users on the same bit of data you are currently editing.
Feel free to grab the code from this repository and follow along. This session is based on the previous session’s app with extra things added.
Greetings Spring community,
Today we have published a new guide: Creating CRUD UI with Vaadin.
Vaadin is real cool:
- Comes with its own Spring Boot starter
- Works nicely with constructor injection
- Makes it dirt simple to plugin persistence solutions like Spring Data
- Is armed with an arsenal of plugins to grow into real applications
Check out this newly minted guide and have fun!
We are pleased to announce the Spring for Apache Hadoop 2.3 M3 milestone release.
The most important enhancements in this release:
- Update build to use Spring Framework 4.2.1, Boot 1.3.0.M5, Batch 3.0.5 [SHDP-509]
- Move annotation config to separate sub-project to reduce dependencies for spring-data-hadoop-boot [SHDP-525]
- Add additional properties to Spark Tasklet [SHDP-397]
- Upgrade build to use to Spark 1.5.0 [SHDP-521]
See the release changelog for details.
We continue to provide version specific artifacts with their respective transitive dependencies in the Spring IO milestone repository:
Dear Spring Community!
For Gradle use this dependency:
For Maven this:
<dependency> <groupId>org.springframework.integration</groupId> <artifactId>spring-integration-java-dsl</artifactId> <version>1.1.0.RELEASE</version> </dependency>
First of all a big thanks to everyone who visited my talk at the SpringOne 2GX 2015 last week. An additional thanks for all the feedback we have received.