0% found this document useful (0 votes)
9 views2 pages

Spring Day 1

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views2 pages

Spring Day 1

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

1) What is Spring?

Ans:

 Spring framework makes the easy development of JavaEE application.


 It is helpful for beginners and experienced persons.
 Spring is a lightweight framework. It can be thought of as a framework of frameworks
 because it provides support to various frameworks such as Struts, Hibernate, Tapestry,
EJB, JSF, etc.

2) What is Spring Boot?


Ans:

 Spring Boot provides basic and advanced concepts of Spring Framework.


 Our Spring Boot is designed for beginners and professionals both.
 Spring Boot is a Spring module that provides the RAD (Rapid Application
Development) feature to the Spring framework.
 It is used to create a stand-alone Spring-based application that you can just run
because it needs minimal Spring configuration.
 In short, Spring Boot is the combination of Spring Framework and Embedded
Servers.

3) Different between Spring and Spring boot?


Ans:
SPRING:
o Spring Framework is the most popular application development framework
of Java.
o The main feature of the Spring Framework is dependency Injection or
Inversion of Control (IoC).
o With the help of Spring Framework, we can develop a loosely coupled
application.
o It is better to use if application type or characteristics are purely defined.

SPRING BOOT:

o Spring Boot is a module of Spring Framework.


o It allows us to build a stand-alone application with minimal or zero
configurations.
o It is better to use if we want to develop a simple Spring-based application or
RESTful services
4) What is Spring Boot Architecture?

Ans:

Spring boot provides four layers: They are

Presentation Layer:

o The presentation layer handles the HTTP requests, translates the JSON parameter to
object, and authenticates the request and transfer it to the business layer.
o In short, it consists of views i.e., frontend part.

Business Layer:

o The business layer handles all the business logic.


o It consists of service classes and uses services provided by data access layers.
o It also performs authorization and validation.

Persistence Layer:

o The persistence layer contains all the storage logic and translates business objects
from and to database rows.

Database Layer:

o In the database layer, CRUD (create, retrieve, update, delete) operations are
performed

You might also like