Course Content
Spring Boot Backend
Spring Boot Backend
Introduction to Spring
Now we've arrived at the most exciting part - Spring Framework, which we will be using throughout the entire course. That's why it's crucial to complete this section thoroughly and study it well!
What is Spring?
In addition to managing dependencies, the Spring Framework also provides a range of features to help developers integrate various components, configure application behavior, and access essential services like databases and web interfaces. This makes it easier to develop scalable and maintainable applications, as many common programming tasks are streamlined or automated.
We'll take a closer look at how to manage dependencies in Spring a bit later.
What is Bean
We'll cover the topic of beans at the very beginning of this section because it's extremely important.
To make a object a bean so that Spring can manage its lifecycle, we can annotate it with @Component
, @Service
, @Repository
, @Controller
(we will look at these annotations later)
What Are the Main Modules and Their Responsibilities?
Spring Core
is the central part of the Spring framework. It includes the essential features and the IoC (Inversion of Control) container, which is a special tool that manages the objects in your application, known as bean
, which we have already discussed;
Spring MVC
(Model-View-Controller) is a framework for creating web applications. It helps you organize your code by separating different parts of your application. We’ll take a closer look at it in this section;
Spring Security
ensures the security of applications. It provides tools for authentication (verifying user identity) and authorization (determining user permissions to perform certain actions);
Spring Data
is a module that provides simplified access to databases and repositories. It offers a unified way to work with various data sources (such as SQL, NoSQL, in-memory databases).
What is Spring Boot?
The key difference is that Spring provides the core functionality and flexibility for building applications, while Spring Boot makes the process easier by offering automatic configuration and reducing the amount of manual setup required.
It’s important to understand that Spring Boot is not a separate framework; rather, it's an additional module, like Core
, that streamlines the setup process and minimizes configuration work.
That’s why we will be using Spring Boot throughout the course, as it is much easier to set up.
Thanks for your feedback!