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 Slide

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

    View Slide

  3. View Slide

  4. View Slide

  5. View Slide

  6. 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 Slide

  7. DO WE REALLY
    NEED
    APPLICATION
    SERVERS?

    View Slide

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

    View Slide

  9. MICROSERVICES
    … EVERYWHERE

    View Slide

  10. SPRING BOOT
    IN ACTION

    View Slide

  11. 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 Slide

  12. NO CODE GENERATION AND NO
    REQUIREMENT FOR XML
    CONFIGURATION

    View Slide

  13. View Slide

  14. DEMO

    View Slide

  15. Q&A
    @maciejwalkowiak
    maciejwalkowiak.com

    View Slide