Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Spring Boot 2.0 Web Applications

Spring Boot 2.0 Web Applications

The new generation of Spring Boot applications is here! With Spring Boot 2.0, developers can use the new Spring WebFlux reactive web framework.

During this live coding session, Stéphane and Brian will create a WebFlux application and leverage Boot features such as Actuator, Developer Tools and more.

Spring Boot 2.0 comes with many improvements and new features - Spring WebFlux allows reactive web endpoints and new HTTP runtimes such as Netty. This comes into two variants: a familiar annotation based approach similar to MVC and a new functional variant called "WebFlux.fn".

With 2.0, the Spring team leverages WebFlux with the "convention over configuration" flavour that made Boot so popular:

* auto-configuration of your web application
* customizing your app with configuration properties and callback-based interfaces
* Actuators and Developer Tools support
* leveraging the Spring ecosystem such as Spring Data and Spring Security

Stéphane Nicoll

November 09, 2017
Tweet

More Decks by Stéphane Nicoll

Other Decks in Programming

Transcript

  1. Spring Boot 2.0 Bringing the Spring Boot experience to the

    Reactive world, Leveraging reactive features in all Spring projects 6
  2. 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 ⚡ ⚡ ⚡ ⚡ ' ⚡
  3. Thymeleaf 3.0 reactive support Flushing strategies for progressive rendering -

    “chunked mode” Rendering template fragments as SSE events - “data-driven mode” 10
  4. Spring Data Kay Reactive support for Redis, MongoDB, Couchbase and

    Cassandra Infinite streams from the datastore with @Tailable 11
  5. Spring Boot Actuator Works now with Spring MVC, Spring WebFlux

    and Jersey Unified way to implement custom endpoints 13
  6. 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
  7. Spring Boot soon in RC phase Check out release notes

    and our (WIP) migration guide! 17