MASTERING SPRING BOOT - Java2Days 2017 · What & Why Spring Boot How to Master it....

Preview:

Citation preview

MASTERING SPRING BOOT

I n 3 S i m p l e S t e p s

Speaker, Java Evangelist,

JSR-367 Contributor, JCP Member,

Auth0 Ambassador, DZone MVB,

Java EE Guardian

Hello!

I’m Andrés Céspedes Morales

Twitter: @andrespedesGithub: @pedes

www.andrespedes.com

#Java2Days2017 Bulgaria @andrespedes

AGENDA

AutoConfiguration Magic ( Conditionals )

What & Why Spring Boot

How to Master it

#Java2Days2017 Bulgaria @andrespedes

Spring Boot ?

WHAT & WHY

1

#Java2Days2017 Bulgaria @andrespedes

Insights & Metrics

Actuator

Configuration based on

classes, beans & properties

AutoConfiguration

CLI Stands for Command

Line Interface

Spring CLI

SPRING BOOT ESSENTIALS

Wrap-up libraries

Starters

#Java2Days2017 Bulgaria @andrespedes

It’s cool

Top OS Project

Java-based configuration

XML-less

Convention over

configuration

Ease to Config

SPRING BOOT FEATURES

Simplify project development

Bootstrap

#Java2Days2017 Bulgaria @andrespedes

How Auto-configuration works under the hood

UNDERSTAND THE MAGIC

2

#Java2Days2017 Bulgaria @andrespedes

@ComponentScan

@SPRINGBOOTAPPLICATION

@Configuration @EnableAutoConfiguration

#Java2Days2017 Bulgaria @andrespedes

@COMPONENTSCAN

Repository Service

Controller Configuration

Component

#Java2Days2017 Bulgaria @andrespedes

@CONFIGURATION

Bean

#Java2Days2017 Bulgaria @andrespedes

@ENABLEAUTOCONFIGURATION

spring.factories

#Java2Days2017 Bulgaria @andrespedes

There are three ways

HOW TO MASTER IT

3

#Java2Days2017 Bulgaria @andrespedes

#Java2Days2017 Bulgaria @andrespedes

#Java2Days2017 Bulgaria @andrespedes

Knowledge

transfer

Customize and

build your own

autoconfig

Build a project and

use it in

production

PATH TO MASTERY

#Java2Days2017 Bulgaria @andrespedes

CHECKOUT THE PROJECT

https://github.com/pedes/mastering-spring-boot

#Java2Days2017 Bulgaria @andrespedes

Thanks!You can find me at: @andrespedes | andrespedes@gmail.com | andres@andrespedes.com

Any questions?

Recommended