The Spring Blog

Engineering
Releases
News and Events

SpringOne Platform 2016 Replay: High Performance Microservices with Ratpack and Spring Boot

Recorded at SpringOne Platform 2016.
Speaker: Dan Woods
Slides: http://www.slideshare.net/SpringCentral/high-performance-microservices-with-ratpack-and-spring-boot-64889596

Ratpack and Spring Boot are a match made in microservice heaven. Each brings its respective strengths to the task of building a compelling service for the cloud. Spring Boot’s incorporation of the Spring and Spring Cloud ecosystems make it an excellent choice for building service components; Ratpack’s nature as a reactive web framework and its emphasis on performance and efficiency make it a premiere choice for a durable web tier. When the two frameworks join forces, developers become unstoppable. This talk will showcase Ratpack and Spring Boot’s complementary integrations, and demonstrate, through live coding, building a high performance microservice.

Read more...

SpringOne Platform 2016 Replay: No outage database development with Spring Boot and Liquibase

Recorded at SpringOne Platform 2016.
Speakers: Barrington-Hughes, Ramaswamy, Premier Healthcare Inc
Slides: http://www.slideshare.net/SpringCentral/no-outage-database-development-with-spring-boot-and-liquibase

Pavi and I work on a project in Premier where we’ve embedded Liquibase into the start of our Spring Boot applications to upgrade our database in-direct coupling with the code we are deploying.

Using a measured and planned approach to agile database development and careful refactoring of the database with more frequent but smaller changes, we facilitate having no outage deployments along with database schema upgrades.

Read more...

SpringOne Platform 2016 Replay: Next Level Spring Boot Tooling

Recorded at SpringOne Platform 2016.
Speakers: Martin Lippert, Kris De Volder, Andy Clement
Slides: http://www.slideshare.net/SpringCentral/next-level-spring-boot-tooling

The recent releases of the widely used Spring tooling for Eclipse have focused a lot on making Spring Boot app and microservice development easier and more effective. In this talk we will showcase the latest features for working with Spring Boot - using live demos and live coding. We will show the easiest ways to get started with Spring Boot, move on to advanced features for dealing with Spring Boot properties in property and YAML files (including greatly improved content-assist, validations, hover help), and demo the Spring Boot dashboard. This major innovation in the Spring tooling makes it extremely easy to deal with potentially many Spring Boot microservice projects in your workspace. We will demo all the new features, including advanced editing of Cloud Foundry manifest files and the ability to detect and merge configuration changes between your cloud runtime and your workspace projects. The talk is all about being more effective in your IDE when working with Spring Boot and turning your IDE into a microservice development center when working with Spring Boot, Spring Cloud, and a cloud-native runtime like Cloud Foundry.

Read more...

SpringOne Platform 2016 Replay: Easy Consumption of Microservices

Recorded at SpringOne Platform 2016.
Speakers: - Ted Tollefson, Shawn Sherwood, Kroger
Slides: http://www.slideshare.net/SpringCentral/easy-consumption-of-microservices

Cloud Foundry makes it easy to deploy and run microservices. Now that you have your microservice running, how do you make it easy for other teams to consume it? Spring Initializr, Spring Boot, Spring Cloud Netflix and Cloud Foundry can be used together to make the consumption side easy and efficient. Client libraries can be offered in Spring Initializr. The generated Spring Boot application can be deployed to Cloud Foundry. Service discovery can be provided with Spring Cloud Netflix. The consuming project team can simply write their business logic. This talk will cover the steps to extend Initializr to accomplish easy microservice consumption.

Read more...

Spring Roo 2.0.0.M3 released

On behalf on the Spring Roo team at DISID Corporation, I’m pleased to announce the third milestone of Spring Roo 2.0. This is the last milestone, from now on we’re going to work in the first release candidate.

M3 generates fully functional Spring applications, this release includes important changes in the architecture of the generated applications, that should be compatible with the improvements that the RC1 will introduce but it is not guaranteed, so the projects generated with the M3 might not been upgraded automatically by the RC1.

Read more...

SpringOne Platform 2016 Replay: Testing with Spring Framework 4.3, JUnit 5, and Beyond

Recorded at SpringOne Platform 2016.
Speaker: Sam Brannen, Swiftmind
Slides: http://www.slideshare.net/SpringCentral/testing-with-spring-43-junit-5-and-beyond

Curious about what’s new in Spring’s testing support in 4.3 or what’s on the horizon in Spring 5 and JUnit 5? Then join Sam Brannen, Spring Test component lead and JUnit 5 core committer, to find out! The first part of this session will give attendees an overview of the latest core integration testing improvements in Spring 4.3 such as the new SpringRunner alias for the SpringJUnit4ClassRunner, the omission of @ContextConfiguration when it can be inferred, support for @Sql and @SqlGroup as composed annotations, limiting the context cache size within a test suite, and the new ContextCustomizer API for customizing a test’s ApplicationContext. The next part will cover recent improvements in Spring MVC Test such as server-side testing support for expectations on response headers, form data processing, JSON prefixes in response content, custom HTTP verbs, and verifying that a specific controller method was invoked as well as client-side REST testing support for indicating how many times a request is expected and expectations for form data in the request body. The focus will then shift to what kinds of testing features to expect in Spring Framework 5.0. And last, but certainly not least, Sam will dive into live examples using Spring Framework’s upcoming support for JUnit 5 for modern testing on Java 8 and beyond.

Read more...

SpringOne Platform 2016 Replay: Going Reactive: Building Better Microservices

Recorded at SpringOne Platform 2016.
Speaker: Rob Harrop, Skipjaq
Slides: http://www.slideshare.net/SpringCentral/going-reactive-building-better-microservices-rob-harrop

Reactive provides developers with an elegant model for constructing applications out of communicating components that improves code readability, eases concurrent programming and supports fine-grained unit testing.

In this talk, we’ll see how this model is a natural fit for building resilient microservices. Specifically, we’ll see how to:

Read more...

SpringOne Platform 2016 Replay: Testing Spring Boot Applications

Recorded at SpringOne Platform 2016.
Speaker: Phil Webb
Slides: none, all live coding
In this talk we’ll cover the host of new features that have been added to Spring Boot 1.4 to help with testing. We’ll discuss how to unit test your code, how (and when) to involve Spring in your tests, and talk about the various tools and libraries that you should be using. Taking a simple application, we’re going to add:
- Unit tests for basic components
- Integration Tests for JPA entities and queries
- Tests for JSON marshalling and unmarshalling
- Tests for Spring MVC controllers
- Tests for remote RestTemplate calls (using mocking)
- End-to-end integration tests (hitting a real HTTP endpoint)
We’ll also look a little bit at the internals of Spring’s testing support and pick apart how the magic actually works.

Read more...

Webinar Replay: Bootiful CQRS with Axon - Nov 16

Speakers: Josh Long, Allard Buijze

We get it already! Microservices let you decompose your application into small, singly-focused, reusable and internally consistent bounded contexts - services - deployed over a network.

Great, but that still doesn’t help me get these systems to agree on the worldview of my domain! And that’s because…there is no world view of the model that is correct for all services involved.

Join Axon framework founder and lead, Allard Buijze at Trifork and Spring Developer Advocate Josh Long, for a look at how to integrate different systems with different read and write characteristics using Axon, a CQRS (Command Query Responsibility Segregation) framework that builds on Spring and Spring Boot.

Read more...

Webinar Dec 8th: Awesome tools to level up your Spring Cloud architecture

Getting up and running with Spring Cloud is a breeze. But once the initial setup is done, it needs to be complemented with an ecosystem that can cope with the extra operational complexity and quality concerns. While running Spring Cloud in production for over a year, Pivotal has integrated some interesting tools for documentation, operations and testing. During this talk you will see a demo of an integrated platform based on Spring Cloud, including tools like Spring Cloud Contract, wiremock, saboteur, ELK, Spinnaker, Spring Boot Admin and more. One of these tools is a dashboard for visualising Pivotal’s Spring Cloud microservice architecture, which has recently been open sourced. Documenting, testing, troubleshooting, and monitoring highly distributed systems in microservice architectures are hard. Finding quality, complementary tools in the wilds of open source can be even harder. Join this webinar for a pragmatic look at taming some of the challenges of running microservices in production.

Read more...