Monday, 22 March 2021

Why Spring boot ?

Spring boot ease the creation of Spring application.
Eliminates needs of :
  - Lot of configuration
  - Import lot of Jar
gives more time to focus on business logic


Spring boot relies on Spring framework.

Sprint is whole framework for enterprise Java applications handles common concerns :
 - Dependency injection
 - handling HTTP requests
 - Transactions
 - DB connection through templates (for SQL & NoSQL DBs)

so that you focus on business problem & logic and handle the common concerns through annotations.

WHY SPRING BOOT ?
 Spring is :
 - a big framework
 - need Complex setup
 - need lot of configuration

Spring boot :
 - addresses above issues
 - Stand-alone : implicit server (Tomcat) which enables application ready to run, so eliminates external runtime server needs


NEEDS TO QUICK START WITH SPRING BOOT :
 - JDK
 - 
Spring boot provides STS (Spring Tool Suite) - wrapper over eclipse providing all the Spring boot support.
 - Maven (Dependency management tool + Build tool) : declares all the dependencies (in pom.xml) instead of downloading & putting Jars in classpath 

No comments:

Post a Comment

Note: only a member of this blog may post a comment.