SpringOne2GX 2014 Replay: Testing with Spring Framework 4.x

News | Pieter Humphrey | February 17, 2015 | ...

Recorded at SpringOne2GX 2014.

Speaker: Sam Brannen, Swiftmind

Core Spring Track

Slides: http://www.slideshare.net/SpringCentral/testing-with-spring-framework-4x

The Spring Framework has undergone a lot of innovation in the 4.0 and 4.1 releases, and so has its testing support. Join Spring Test component lead Sam Brannen in this talk to discover what's new in Spring's testing support in 4.0 through 4.1. This talk will provide attendees an overview of what's been deprecated, what's changed, and what's been introduced in Spring's testing support over the last two years, with real life examples and tips for best practices. Highlights include using SocketUtils to scan for free TCP & UDP server ports, the ActiveProfilesResolver API, meta-annotation support for test annotations including attribute overrides, best practices with TestNG, using Groovy scripts to configure an ApplicationContext for integration tests, improvements to SQL script execution and embedded databases, the new TestContext framework bootstrap strategy, programmatic transaction management in tests, and more.

SpringOne2GX 2014 Replay: "Bootiful" Applications with Spring Boot

News | Pieter Humphrey | February 17, 2015 | ...

Recorded at SpringOne2GX 2014.

Speaker: Josh Long, Phil Webb

Slides: http://www.slideshare.net/SpringCentral/bootiful

Core Spring Track

Alright, so maybe "bootiful" won't ever work, but we tried, and it was worth it too because you're reading this. Spring Boot, the new convention-over-configuration centric framework from the Spring team at Pivotal, marries Spring's flexibility with conventional, common sense defaults to make application development not just fly, but pleasant! Join Spring developer advocate Josh Long and Spring Boot co-lead Phillip Webb for a look at what Spring Boot is, why it's turning heads, why you should consider it for your next application (REST, web, batch, big-data, integration, whatever!) and how to get started.

This Week in Spring - February 17th, 2015

Engineering | Josh Long | February 17, 2015 | ...

Welcome to another installment of This Week in Spring! This week I've been in studio recording the next iteration of the Spring Livelessons series, this one on building cloud-native applications (microservices) with Spring Boot, Spring Cloud, and Cloud Foundry. It's been a lot of fun, and - this morning - I took a break to do two 1.5 hour webinars for O'Reilly on building Spring Boot applications and Spring Cloud microservices, both entirely live coded! It's been a fun week for me, and I hope it has for you, as well.

This Thursday the 19th marks the culmination of this year's Lunar New Year, or Chinese new year or Spring festival. What's this to do with Spring (the technology)? Not much, besides being a celebration of better things to come and a great name! So happy new year…

Spring Cloud 1.0.0.RC3 Available Now

Releases | Dave Syer | February 13, 2015 | ...

Spring Cloud 1.0.0.RC3 is available now from https://repo.spring.io/libs-milestone-local. This is (hopefully) the last milestone release before 1.0.0. There were some bug fixes since 1.0.0.RC2 and also a few small new features:

  • Refactored the Feign support to look a bit more like Spring Data (so @EnableFeignClients instead of @FeignClientScan).
  • Support for multipart/form-data in the Zuul proxy
  • Support for including and excluding remote services in the automatic route registration in Zuul
  • Support for declarative Ribbon retry in Zuul
  • Cleaned up of a lot of dependencies. If you use the spring-cloud-starters you should get a nice consistent experience of adding and subtracting features. Gradle users need to use the dependency management plugin for the same experience.
  • Added small, bite-sized sample projects

Spring XD 1.1 GA and 1.0.4 released

Releases | Mark Pollack | February 12, 2015 | ...

Six months after the 1.0 GA release, the team is happy to announce the availability of Spring XD 1.1 GA.

Download Links:

Please read Sabby Anandan's blog for a general overview of Spring XD. Specific to 1.1, a ton of features have been added. Here are some that will give you the most bang for your big data buck.

Spring XD: Data-Driven Connectivity Within a Unified Platform

Releases | Sabby Anandan | February 12, 2015 | ...

Whether you’re at home, office, or in-transit, connectivity is the norm. It’s a part of daily life that we’ve all come to expect and depend on. Connectivity between people and information is all about the movement and analysis of data: data delivers insights, and these insights must increasingly deliver immediate results to users. This level of always-on, always-available connectedness presents numerous challenges. The type of data, formats, and volume is dynamic, as are the data-producing agents.

Spring XD addresses these numerous challenges within a unified platform. Whether through…

Java Doesn’t Suck - Rockin' the JVM

Engineering | Brian Dussault | February 11, 2015 | ...

Recently James Ward wrote a great blog post, “Java Doesn’t Suck – You’re Just Using it Wrong”, which highlighted numerous challenges that enterprise Java developers face in their daily routines building Java applications. The good news is that breaking out of the development rut is much easier than you may think. Over the last few years, Spring has redefined how modern Java applications are built while dramatically improving development velocity. In this post, I’ll use James Ward’s blog post as a backdrop to explain how Spring helps developers rock the JVM (using Java) while tackling each of…

Better application events in Spring Framework 4.2

Engineering | Stéphane Nicoll | February 11, 2015 | ...

Application events are available since the very beginning of the Spring framework as a mean for loosely coupled components to exchange information. One of the most well known usage of application events is the following:

@Component
public class MyListener 
        implements ApplicationListener<ContextRefreshedEvent> {
  
    public void onApplicationEvent(ContextRefreshedEvent event) {
        ...
    }
}

This allows MyListener to be notified when the context has refreshed and one can use that to run arbitrary code when the application context has fully started.

In Spring Framework…

SpringOne2GX 2014 Replay: Rethinking API Design with Traits

News | Pieter Humphrey | February 10, 2015 | ...

Recorded at SpringOne2GX 2014.

Speaker: Cédric Champeau

More Groovy Track

Slides: http://www.slideshare.net/SpringCentral/traits-design

Groovy 2.3 introduces the concept of traits in the language. Traits look like interfaces, but allow the developer to add both implementation and state into it. It introduces multiple inheritance in the language while avoiding the diamond problem. Traits will let you rethink the way you design APIs in Groovy, by favoriting composition of behaviors.

SpringOne2GX 2014 Replay: Ratpack Web Framework

Engineering | Pieter Humphrey | February 10, 2015 | ...

Recorded at SpringOne2GX 2014.

Speaker: Dan Woods, NetFlix

G&G Special Topics

Slides: http://www.slideshare.net/SpringCentral/4pieter-springone2gx2014ratpack

Ratpack is an asynchronous web framework for the JVM that was inspired by the simplistic nature of Ruby's Sinatra framework. Written in Java, optimized for Groovy and Java 8, Ratpack sports a high throughput, simplistic interface for rapid development of rich, real-time web applications.

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