1.

Why Is It “opinionated”?

Answer»

It follows “Opinionated Defaults Configuration” Approach to reduce Developer effort. Due to opinionated VIEW of spring boot, what is required to get started but also we can get out if not suitable for application.

 Spring Boot uses SENSIBLE defaults, “opinions”, mostly based on the CLASSPATH CONTENTS.

For example

  • Sets up a JPA ENTITY Manager Factory if a JPA implementation is on the classpath.
  • Creates a default Spring MVC setup, if Spring MVC is on the classpath.
  • Everything can be overridden easily
  • But most of the time not needed.

It follows “Opinionated Defaults Configuration” Approach to reduce Developer effort. Due to opinionated view of spring boot, what is required to get started but also we can get out if not suitable for application.

 Spring Boot uses sensible defaults, “opinions”, mostly based on the classpath contents.

For example



Discussion

No Comment Found