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

Spring Boot in Action

Spring Boot in Action

Presentation given to Szczecin Java User Group on the 26th of October 2015.

Maciej Walkowiak

October 26, 2015
Tweet

More Decks by Maciej Walkowiak

Other Decks in Programming

Transcript

  1. SPRING BOOT IN ACTION
    @MACIEJWALKOWIAK

    View full-size slide

  2. SPRING BOOT
    ..YET ANOTHER
    FRAMEWORK
    TO LEARN..?

    View full-size slide

  3. SPRING GOT A LOT EASIER
    ▸ “starter-poms”
    ▸ Autoconfiguration for all Spring components an many 3rd
    party libraries
    ▸ Project skeleton generated with web UI or command line
    tool

    View full-size slide

  4. DO WE REALLY
    NEED
    APPLICATION
    SERVERS?

    View full-size slide

  5. SPRING APPLICATION IS EXECUTABLE
    ▸ java -jar myapp.jar
    ▸ Embedded containers: Tomcat, Jetty, Undertow
    ▸ Optionally can be packaged as WAR and run anywhere

    View full-size slide

  6. MICROSERVICES
    … EVERYWHERE

    View full-size slide

  7. SPRING BOOT
    IN ACTION

    View full-size slide

  8. SPRING IS CLOUD FRIENDLY
    ▸ Externalized configuration
    ▸ Metrics
    ▸ Health checks
    ▸ Spring Cloud based on Spring Boot - plays nice with
    Netflix stack - de facto standard for building micro
    services

    View full-size slide

  9. NO CODE GENERATION AND NO
    REQUIREMENT FOR XML
    CONFIGURATION

    View full-size slide

  10. Q&A
    @maciejwalkowiak
    maciejwalkowiak.com

    View full-size slide