Slide 1

Slide 1 text

Spring Boot 2.0 Web Applications Stéphane Nicoll - @snicoll Brian Clozel - @bclozel

Slide 2

Slide 2 text

Spring Framework 5.0 JDK 8 and JDK 9, Reactive programming with Spring WebFlux 2

Slide 3

Slide 3 text

3 ∞

Slide 4

Slide 4 text

Threading model Not relying on the “1 thread/request” model Using non-blocking IO (see NIO Selectors) 4

Slide 5

Slide 5 text

Flux and Mono Reactive Streams implementation, Powerful for concurrency and streaming use cases 5

Slide 6

Slide 6 text

Spring Boot 2.0 Bringing the Spring Boot experience to the Reactive world, Leveraging reactive features in all Spring projects 6

Slide 7

Slide 7 text

Unless otherwise indicated, these slides are © 2013-2017 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Smart Meter Applications 7 Aggregator Dashboard ⚡ ⚡ ⚡ ⚡ ' ⚡

Slide 8

Slide 8 text

#devoxx #springboot Demo - Smart Sensors

Slide 9

Slide 9 text

Template engine integration How to deal with Flux at the view model level? 9

Slide 10

Slide 10 text

Thymeleaf 3.0 reactive support Flushing strategies for progressive rendering - “chunked mode” Rendering template fragments as SSE events - “data-driven mode” 10

Slide 11

Slide 11 text

Spring Data Kay Reactive support for Redis, MongoDB, Couchbase and Cassandra Infinite streams from the datastore with @Tailable 11

Slide 12

Slide 12 text

#devoxx #springboot Demo - Dashboard

Slide 13

Slide 13 text

Spring Boot Actuator Works now with Spring MVC, Spring WebFlux and Jersey Unified way to implement custom endpoints 13

Slide 14

Slide 14 text

Spring Boot Actuator Better output format Separate status endpoint 14

Slide 15

Slide 15 text

Spring Boot Actuator Simplified Security model 15

Slide 16

Slide 16 text

Spring Boot Actuator Move to Micrometer Think SLF4J, but for metrics 16 • Instrument without vendor lock-in: • Prometheus • Netflix Atlas • Influx • Datadog • Statsd • Graphite • … • Multi-dimensional metrics

Slide 17

Slide 17 text

Spring Boot soon in RC phase Check out release notes and our (WIP) migration guide! 17

Slide 18

Slide 18 text

#devoxx #springboot Demo - Actuator

Slide 19

Slide 19 text

#devoxx #springboot Thanks! @snicoll @bclozel on Twitter https://gitter.im/spring-projects/spring-boot