It's easier than ever to create or contribute to a Getting Started Guide

Engineering | Greg L. Turnquist | January 23, 2014 | ...

Greetings Spring community!

We keep receiving feedback that Spring's Getting Started Guides are smash hit.

So far, we've migrated these guides to Asciidoctor. We have also grown our guides to include client-oriented ones. More are coming!

The final link in the chain of making these guides work in the long term are the navigational links in the sidebar of each guide. We are now using metadata to tag and link various guides together while also connecting them to relevant projects.

For example, if you visit Consuming a RESTful Web Service with AngularJS, you will see a sidebar that contains:

Webinar Replay: Introduction to Spring Framework 4.0

News | Pieter Humphrey | January 23, 2014 | ...

Speaker: Juergen Hoeller

The Spring Framework re-invented enterprise Java in the last decade. Together with the rest of the upcoming Spring IO micro platform, a new Spring Framework generation will power the next decade of JVM-based innovation. Join Juergen Hoeller and the Spring Team to learn about Spring Framework 4.0, its refined annotation-based component and configuration model, and how it relates to Java 8, Java EE 7, Groovy, WebSockets, as well as Spring Boot and Spring Integration.

Learn more about Spring Framework at http://projects.spring.io/spring-framework

Check out the slides on speakerdeck:

https://speakerdeck.com/jhoeller/introducing-spring-framework-4-dot-0

!{iframe width="420" height="315" src="//www.youtube.com/embed/e4Jo_xJYcYg" frameborder="0" allowfullscreen}{/iframe}

This Week in Spring - January 21st, 2014

Engineering | Josh Long | January 22, 2014 | ...

Welcome back to another installment of This Week in Spring! As usual, we've got a lot to cover so let's dive into it!

Quick reminder: if you're in the San Francisco bay area, be sure to join me tomorrow evening at the Oakland JUG where I'll be speaking about Spring and Spring Boot!

  1. Join us on February 11th for a webinar introducing what's coming in Apache Tomcat 8.
  2. Join Spring Data engineers Oliver Gierke and Thomas Darimont on February 18 for a webinar introducing Spring Data repositories best-practices
  3. Check out the replay of Spring MVC ninja Rossen Stoyanchev's talk from SpringOne2GX 2013 on WebSocket Applications with Spring Framework 4.0.
  4. Check out the replay of Spring Security lead Rob Winch's webinar introducing Spring Security 3.2
  5. Check out Mattias Severson's SpringOne 2013 session replay reviewing Spring MVC test APIs.
  6. Spring Security lead Rob Winch has a nice post on how cookies can be exploited if not properly secured.
  7. Meanwhile, over on the Pivotal blog, C24 Founder and CTO John Davies gives us a look at how C24 is delivering high scalability for large financial-services companies with Spring, RabbitMQ, Pivotal, and GemFire.
  8. Les Cast Codeurs, a French language coding podcast (though, fairly well dominated by JVM technologies), interviewed Grails and Reactor committer Stephane Maldini, check it out!
  9. The Squadron blog has a nice post on how to use TLS (and the instructions are basically the same for SSL). This post is not specific to Spring, but if you're looking at Spring Security's X.509 support, then this article will be very useful.
  10. Mkyong is back with another post, this time on using TestNG with Spring.
  11. The Blas from the Pas blog has a nice post on how to use Thymeleaf and Spring MVC. You might also check out our guide on the subject.
  12. Andriy Redko has a nice post on how to use the Scala language sbt build tool with a simple Spring application. The thrust of this post is to introduce sbt, which is an alternative build tool to things like Maven or Gradle.
  13. The Develop and Conquer blog has a nice post on using Spring 4's websocket support.
  14. Our pal Xavier Padró is back, this time with a look at how to migrate XML-configured web applications to the recently released Spring 4.0
  15. Spring Data lead Oliver Gierke's talk from Geecon, Data Access 2.0? Please welcome Spring Data!, is now available online to watch. Enjoy!
  16. Jakub Kubrynski has a nice post on using Spring's Java-centric web configuration options.
  17. The Remove duplications and fix bad names blog has a nice post on unit-testing with Spring and Mockito.
  18. The Isos Tech blog has a post on the subject of using two JPA EntityManagers in one Spring application.

Spring Boot 1.0.0.RC1 Released

Releases | Phil Webb | January 22, 2014 | ...

We are pleased to announce the first release candidate of Spring Boot v1.0.0. This release contains a number of bug fixes and enhancements over the previous milestone.

Binaries have been published to the Spring Maven Repository, please take a look at the project page for download instructions and Maven/Gradle co-ordinates.

Please raise an issue if you find any problems, or want to suggest some future improvements.

Webinar Replay: Spring Security 3.2

News | Pieter Humphrey | January 21, 2014 | ...

Speaker: Rob Winch

Spring Security is a powerful and highly customizable authentication and access-control framework and is the de-facto standard for securing Spring-based applications. Whether you are itching to learn how to use Spring Security for the first time or you want to learn about all the new features in Spring Security 3.2 this presentation is a must. In this talk Rob, the Spring Security project lead, will take you on a guided tour of how to get up and running with Spring Security 3.2's new features including:

· Java Configuration support

· CSRF protection

· Security related HTTP response headers

· Spring MVC integration

Learn more about Spring Security at http://projects.spring.io/spring-security

!{iframe width="420" height="315" src="//www.youtube.com/embed/qoR6lY6biO4" frameborder="0" allowfullscreen}{/iframe}

SpringOne2GX 2013 Replay: Intro to WebSocket Applications with Spring Framework 4.0

News | Pieter Humphrey | January 21, 2014 | ...

Speaker: Rossen Stoyanchev

Recorded at SpringOne2GX 2013 in Santa Clara, CA.

Last year's Intro to WebSocket presentation was as much about introducing WebSocket -- including specs, browser availability, server support -- as it was about summarizing short and long term challenges surrounding its use and leaving many open questions. What a world of difference a year can make! This update to last year's presentation, covers the new standard Java WebSocket API (JSR-356) including a discussion of positives and limitations, an update on the current status of WebSocket support across Servlet containers, and of course the Spring Framework 4.0 WebSocket support -- how to configure and use it and what additional benefits it provides. A central part of this is Spring's support for SockJS, the protocol for transparent WebSocket fallback options for use in applications that for example need to run in IE 10 and eariler. This presentation is for you if you want a comprehensive introduction to WebSocket including standard Java EE 7 and Spring Framework 4.0 support. For a more practical take on how to actually build WebSocket-style applications that skips the introduction, please attend the next presentation Building WebSocket Browser Applications with Spring by Rossen Stoyanchev and Scott Andrews, or attend both presentations. They are intended to be complementary. Learn more about WebSocket in Spring Framework at: http://projects.spring.io/spring-framework

Slides: http://rstoyanchev.github.io/s2gx2013-intro-websocket-spring-framework-4

!{iframe width="420" height="315" src="//www.youtube.com/embed/MJeEAVJR2FA" frameborder="0" allowfullscreen}{/iframe}

SpringOne2GX 2013 Replay: Spring Testing

News | Pieter Humphrey | January 21, 2014 | ...

Recorded at SpringOne2GX 2013 in Santa Clara, CA

Speaker: Mattias Severson

Is it possible to decrease the turn-around time of your test suite? How can you make sure that your tests execute independently? Is it possible to automatically verify that the database schema is kept in sync with the source code? What are the trade-offs? In this presentation, you will learn how to apply features such as the Spring MVC Test Framework, Spring profiles, and embedded databases, to automate and improve your test suite, thus improving the overall quality of your project. A simplistic Spring web app will be used to show some practical code examples. Topics include:

  • Basic Spring Testing
  • Embedded Database
  • Transactions
  • Profiles
  • Controller Tests
  • Server Integration Tests
!{iframe width="420" height="315" src="//www.youtube.com/embed/LYVJ69h76nw" frameborder="0" allowfullscreen}{/iframe}

Webinar: Intro to Apache Tomcat 8

News | Pieter Humphrey | January 21, 2014 | ...

Intro to Apache Tomcat 8

Speakers: Daniel Mikusa and Stuart Williams

Apache Tomcat 8 implements new versions of the Servlet, JSP and EL specifications as well as adding support for the new WebSocket specification. Work has also been completed on internal refactoring in a number of areas that will impact a number of Tomcat specific features. This presentation will provide an overview of the changes and new features introduced by both the updated specifications and the Tomcat specific changes. This session will enable attendees to identify the Tomcat 8 features of greatest interest to them and provide them with the information required to start planning their migration to Tomcat 8.

Tuesday, February 11, 2014 3:00pm GMT Time (London GMT) Register

Tuesday, February 11, 2014 10:00am PST (San Francisco, GMT-08:00) Register

Webinar: Spring Data Repositories – Best Practices

Engineering | Pieter Humphrey | January 21, 2014 | ...

Speakers: Oliver Gierke and Thomas Darimont

The repository abstraction layer is one of the core pieces of the Spring Data projects. It provides a consistent, interface-based programming model to allow implementing data access layers easily for relational and NoSQL databases. We will have a look at the lessons learned from the application of it in various customer projects and summarize best practices for you to apply in your projects. The session will also discuss advanced features like the Querydsl integration, the integration of custom implementation code as well as hooks into Spring MVC and Spring HATEOAS.

Tuesday, February 18, 2014 3:00pm GMT Time (London GMT) Register

Tuesday, February 18, 2014 10:00am PST (San Francisco, GMT-08:00) Register

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