Spring Boot

Spring boot is sort of a configuration wrapper around the Spring MVC Framework.

Dependency Management

Maven or Gradle are supported. Can be used with Ant, but not reccommended.

Each version of Spring Boot is configured to work with a specific version of Spring Framework. Whenever possible, do not specify versions in POM, allow versions to inherit from parent. Don't override the Spring Framework version!!

Spring Boot Starters

Starters are top level dependencies for popular Java libraries. They will bring in deps for the project and related Spring components (Hibernate, JPA, etc.)

Spring Boot Annotations

Disabling Specific Auto Config

Autoconfig brings in A LOT of configuration classes in supplied Spring Boot Jars To Exlude: @EnableAutoConfiguration(exlude={DataSourceAutoConfiguration.class}). Pass in the parameter -debug for a report of the Autoconfig


Revision #2
Created 17 April 2022 00:49:11 by Elkip
Updated 17 April 2022 00:50:34 by Elkip