0% found this document useful (0 votes)
55 views10 pages

Spring Boot

Uploaded by

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

Spring Boot

Uploaded by

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

SPRING BOOT

What is spring boot?


 Spring Boot is an open-source Java framework used to
create a Micro Service. Spring boot is developed by Pivotal
Team, and it provides a faster way to set up and an easier,
configure, and run both simple and web-based applications. It
is a combination of Spring Framework and Embedded Servers.
The main goal of Spring Boot is to reduce development, unit
test, and integration test time and in Spring Boot, there is no
requirement for XML configuration.
 It’s created for simplifies the configuration and setup process,
allowing developers to focus more on writing code for their
applications.
What is Framework?

 A Java Framework is a tool that provides you


with pre-written Java code that can be reused for
creating an application. It saves a lot of time as in
these frameworks you’re not required to code
multiple times for a single task. Also, you’re not
required to worry about other issues like security
issues, making database connections, etc. In simple
words, with the help of Java frameworks, there is no
need to do coding from scratch while creating a
project.
JAR (Java Archive)
 A JAR is a package file format typically used to aggregate many Java
class files and associated metadata and resources (text, images, etc.)
into one file to distribute application software or libraries on the Java
platform.
 In simple words, a JAR file is a file that contains a compressed
version of class files, audio files, image files, or directories. We can
imagine a .jar file as a zipped file(.zip) that is created by using WinZip
software. Even, WinZip software can be used to extract the contents
of a .jar
WAR(Web Application Archive)
 Web application resources or web application archives are commonly
called WAR files. A WAR file is used to deploy a Java EE web
application in an application server. Inside a WAR file, all the web
components are packed into one single unit. These include JAR files,
JavaServer Pages, Java servlets, Java class files, XML files, HTML files,
and other resource files that we need for web applications.
spring boot Features

 Auto Configuration
 Standalone Nature
 MVC(Model View Controller)
 Customizable
 Extensions
Auto Configuration
The spring boots use the annotation ‘@SpringBootApplication’
that triggers auto-configuration, which automatically sets up your
application based on the libraries present in the classpath. It auto-
configures your application based on what it sees, thus eliminating the
need for specifying beans in the configuration file manually.
Standalone Nature
Spring Boot applications are self-contained, meaning they can run
independently without relying on any external server. This facilitates
microservices architecture, as developers can run the application
independently without the need for an external server .
Spring MVC
 A Spring MVC is a Java framework which is used to build web
applications. It follows the Model-View-Controller design pattern. It
implements all the basic features of a core spring framework like
Inversion of Control, Dependency Injection.
• Model - A model contains the data of the application. A data can be a
single object or a collection of objects.
• Controller - A controller contains the business logic of an application.
Here, the @Controller annotation is used to mark the class as the
controller.
• View - A view represents the provided information in a particular
format. Generally, JSP+JSTL is used to create a view page. Although
spring also supports other view technologies such as Apache Velocity,
Thymeleaf and FreeMarker.
Customizable
• You can change the settings any time whenever it’s needed, even
though spring boot has its own set ways of doing things, as it’s very
flexible. Where the developers can change their various parts of the
applications like settings, components, or setups and other which
means they can adjust the program just how they like. So, while
Spring Boot offers a clear path to get started and has the
customizable feature.
Extensions
• It easily connects with other tools and libraries, provides a multitude
of extensions for various tasks like connecting with databases,
messaging, caching, etc. This means you can readily integrate a vast
array of third-party libraries and tools, through its starters. These
starters are pre-configured templates with a set of default plugins
and are designed for quick setup and integration of technologies like
Thymeleaf, Security, etc.
Advantage of spring boot
 Quick and safe environment configuration for software
development. It means that software developers can
start building apps right away without having to spend
time on tools and frameworks configuring.
 Reduces code length and simplifies the development
process by utilizing annotations for more
straightforward code understanding and boilerplate
configurations which automatically copy/paste parts
of code for repeated functionalities.
 Simplifies integration with Spring and offers access to
other Spring tools such as Spring Data, Spring
Security, Spring ORM, and Spring JDBC.
conclusion
 Spring Boot is simply an extension of Spring itself to
make the development, testing, and deployment
more convenient. If you are experiencing problems
with your Spring Boot application development
project, we have a team of seasoned developers to
help make your project more efficient

You might also like