A1 - What is spring boot and why is it used?
WHAT IS SPRING BOOT ?
Spring Boot is a Spring module that provides the RAD (Rapid Application Development) feature to the Spring framework.
RAD (Rapid Application Development) in simple terms mean a process we begin by defining loose set of requirements.
This basically means rapid application development gives us the permission to change requirements at any point in the cycle.
EXPLAIN SPRING BOOT:
Spring Boot is a project that is built on the top of the Spring Framework.
It provides an easier and faster way to set up, configure, and run both simple and web-based applications.
In short, Spring Boot is the combination of Spring Framework and Embedded Servers.
HOW CAN WE USE SPRING BOOT FOR JAVA DEVELOPMENT ?
We can use Spring STS IDE or Spring Initializr to develop Spring Boot Java applications.
WHY USE SPRING BOOT?
We should use Spring Boot Framework because:
- The dependency injection approach is used in Spring Boot.
- It contains powerful database transaction management capabilities.
- It simplifies integration with other Java frameworks like JPA/Hibernate ORM, Struts, etc.
- It reduces the cost and development time of the application.
GOALS OF SPRING BOOT
The main goal of Spring Boot is to reduce development, unit test, and integration test time.
- Provides Opinionated Development approach
- Avoids defining more Annotation Configuration
- Avoids writing lots of import statements
- Avoids XML Configuration.
By providing or avoiding the above points, Spring Boot Framework reduces Development time, Developer Effort, and increases productivity.
Comments
Post a Comment