Spring Boot: Difference between revisions

From My Limbic Wiki
(Page créée avec « Comparaison with Spring Boot and Spring https://www.springboottutorial.com/spring-boot-vs-spring-mvc-vs-spring =What's new= Come with: * Autoconfiguration ** Previously B... »)
 
No edit summary
Line 5: Line 5:
Come with:
Come with:
* Autoconfiguration
* Autoconfiguration
** Previously Bean, Resources, Servlet, View Resolver configuration
** Previously ([[Spring_MVC]]) Bean, Resources, Servlet, View Resolver configuration
* Starters (Spring boot starter web ...)
* Starters (Spring boot starter web ...)
** Bring all the dependencis required to build web applications
** Bring all the dependencis required to build web applications

Revision as of 23:25, 22 September 2019

Comparaison with Spring Boot and Spring https://www.springboottutorial.com/spring-boot-vs-spring-mvc-vs-spring

What's new

Come with:

  • Autoconfiguration
    • Previously (Spring_MVC) Bean, Resources, Servlet, View Resolver configuration
  • Starters (Spring boot starter web ...)
    • Bring all the dependencis required to build web applications

Spring Boot Starter Project Options

Dependencies to use in pom.xml available to start faster a spring boot project.

spring-boot-starter-*:

  • -web-services - SOAP Web Services
  • -web - Web & RESTful applications
  • -test - Unit testing and Integration Testing
  • -jdbc - Traditional JDBC
  • -hateoas - Add HATEOAS features to your services
  • -security - Authentication and Authorization using Spring Security
  • -data-jpa - Spring Data JPA with Hibernate
  • -cache - Enabling Spring Framework’s caching support
  • -data-rest - Expose Simple REST Services using Spring Data REST