Description
Spring Boot is an open-source Java-based framework that facilitates the development of robust and scalable Java applications. It simplifies application configuration and implementation by providing out-of-the-box features and default conventions to speed up the development process.
Who is this training for ?
For whom ?
Java developers, project managers and technical architects.
Prerequisites
Have good skills in Java/JEE
Training objectives
Training program
- Reminders on empirical configuration practices
- Loading properties files
- Layer configurations:
- Persistence
- Business
- Controller
- Old-style log management
- Application server-level configurations
- Manual management of backwards and backward compatibility of libraries
- Minimalist configuration of a Spring Boot application
- The Spring universe and the complexity of its configuration
- Starters and auto-configuration components
- The libraries required in the pom.xml (or build) .gradle)
- Using Spring Initializr to create a web application
- The core of Spring Boot
- Organization of dependencies, transparent management of versions
- Best development practices advocated by Spring Boot
- Role of @SpringBootApplication and @EnableAutoconfiguration annotations
- The operating principle of the Application class
- Control of auto-configuration, use of application.properties (or application.yml) files
- Overloading (or even customization) of auto-configuration classes
- Build a Spring Boot application by project type
- Setting up profiles
- Trace management: log4j2 or logback
- Spring Data JPA with Spring Boot
- Spring REST and Spring Boot
- Spring REST coupled with Spring Security and Spring Boot
- Spring MVC with Spring Boot
- The contribution of the STS (Spring Tool Suite) plug-in for aid for accelerated development
- Spring Boot and testing
- Automate tests
- Annotations required for integration tests
- Useful annotations for persistence tests
- API testing REST with @AutoConfigureMockMvc, @WebMvcTest and RestTemplate
- Packaging and deployment of a Spring Boot application
- Creation of a war for simplified deployment
- Creation of a self-executable
- Launch of a jar with file external configuration (command line)
- An example of starting a Spring Boot jar with Docker