getting started with spring boot
TRANSCRIPT
Agenda
• What is Spring Boot?
• Configuration
• DB versioning with Liquibase
• Health checks
• Admin tasks
• Tracing HTTP requests
• Stand-alone jar
What is Spring Boot
• Spring Boot makes it easy to get started with building web applications with minimum fuss
• Provides out-of-the-box features like embedded servlet container, security, metrics, health checks, externalized configuration)
• No code generation
• No requirement for XML configuration.
Why Using Spring Boot?• Productivity
– Convention over configuration
– Designed to get you up and running as quickly as possible (http://start.spring.io/)
– Built on top of Spring Framework - wide range of supported technologies & frameworks
• Cleaner code– Inversion of Control
– Easy to write tests
– Less boilerplate code
• Running in production– Supports the Microservice Architecture (http://microservices.io/)
– Automated DB upgrades using Liquibase (http://www.liquibase.org/) and Flyway (http://flywaydb.org/)
– Spring Cloud support (http://projects.spring.io/spring-cloud/) - distributed configuration management, service discovery, circuit breakers, intelligent routing, etc.
– Eliminates need to manage & tweak application servers
How We Benefit From Spring Boot?
• Increased developer productivity
• Ease of deployment
• Support from large and active community
Automated DB versioning
Liquibase will be called on app startup