From this video, we are going to start the Spring Boot Playlist. Let me tell you, there are no requirements. It is not necessary that you should know Spring. In this course, we will start with the basics and gradually increase the difficulty level. We will see what problems did Spring have that Spring Boot had to come. We will make the basics, API, etc. We will integrate MongoDB, we will integrate MySQL, we will integrate Redis, we will integrate Elasticsearch. We will see how to use external APIs. We will write schedulers. If you don't know what a properties file is, then you will see. But if you know, then I will tell you. We will also see how to externalize the properties file. In other words, we will also read the config server. We will also see how to do moduling in Spring Boot projects. We will see JAR packaging, WAR packaging, everything. We will do unit testing from JUnit. The effect of the story is that we are going to learn a lot in this course. Let me clear one thing first. People get scared when they hear the name Spring Boot. To remove that fear, I am introducing this course. How do things work? We have read some annotation, but we don't know how it works. There is nothing like that in this course. Let me tell you. If you are a Spring Boot in one hour guy, then stop the video. Because nothing like that is going to happen here. Like other courses, I am not creating content here. I don't have that much time either. And I don't want to waste your time either. So, whether you know Spring or not, whether you know Spring Boot or not, it doesn't matter. We will read everything in this course. After this course, you will stop being scared of the name Spring Boot. Okay? This is my guarantee. Okay, enough of this nonsense. Let's start. So, what is Spring Boot? Look, it is written here. Spring Boot is a framework for building applications in Java programming language. It means that Spring Boot provides us some tools with which we can build applications in Java. Okay? Once again. Spring Boot provides us some tools with which we can build applications in Java language. Okay? You will get this definition on Spring's official website. Spring Boot makes it easy to create standalone production-grade Spring-based applications that you can just run. It means that with the help of Spring Boot, you can create Spring applications. Do you understand? Let's see what Spring applications are. What is Spring? Okay? What am I telling you right now? What is Spring Boot? We saw that Spring Boot is a set of tools, which helps you build applications in Java language. Okay? Very good. Let's go. It is written here that with the help of Spring Boot, you can easily create Spring applications. So, Spring Boot helps, makes it easy to create Spring applications. Okay? What was there before? Spring. So, Spring Boot came easily to create Spring applications. Okay? Once again. We used to run Spring applications in the old days. Okay? We are creating a project. There is no problem. Spring application is made. But, there was manual work. We had to do a lot of configurations even in Spring. Spring Boot came to overcome that. Spring Boot has removed that configuration, that manual work. What is written here? You can just run. Do you think it is magic? You haven't done anything. And, Spring Boot application is ready. Java application is ready. You can deploy it. You can deploy Java with 4-5 lines of code. Your controller will be made in 4-5 lines. API will be made. So, this is Spring Boot. Okay? We have read that there were Spring applications in the old days. So, Spring Boot came to create them easily. We will see what this standalone means. You will understand. See, the doubt that Spring was already there. So, why did Spring Boot come? I would have cleared that. But, if still, if still you have in your mind, that Spring came because it reduces the boilerplate code. So, I told you that there is some manual work in Spring applications. Some configurations have to be done. Spring Boot also eliminates that. It is written there. The core Spring framework already reduces boilerplate code and provides a lot of helpful features for Java applications. The Spring framework was also good. But, Spring Boot takes this convenience to the next level. By focusing specifically on reducing the effort required to set up and configure a Spring application. Okay? If you don't know what a Spring application is, don't worry. Don't worry. Okay? It's just that we used to make Spring applications before Spring Boot, in which some work had to be done. Now, Spring Boot has eliminated that. Okay? Spring used to simplify that as well. But, there was some work in it. That has also been eliminated. It is written there. While Spring does simplify many tasks, like create web applications, working with databases, managing transactions, and more. But, setting up a Spring project can still involve quite a bit of manual configuration. Some configuration had to be done in that as well. Okay? In what? In Spring. This is where Spring Boot steps in. Okay? So, there are two things. Spring Boot provides auto-configuration. And, it makes standalone applications. It means that you don't need a Tomcat server. Where you will deploy the Spring Boot jar. Because, Spring Boot already has an embedded Tomcat server. Embedded. It means that it is self-contained. And, it is independent of the external environment. It is independent of the external infrastructure. It means that you will take your Spring Boot application. Right? And, you will deploy it on the server just like that. There is no need to configure the server. Okay? What was there before? Before, you had to install a Tomcat on the server. You had to install a web server. So, some configuration had to be done for that. Then, you deploy your Spring application there. So, let's say you have made an endpoint. First, it will go to the Tomcat server. Then, it will go to the Spring application. Which was there before. But, what happens here in Spring Boot? Embedded Tomcat server comes. There is no need to install Tomcat from the beginning. You deploy it just like that. Okay? So, these are the benefits of Spring Boot. Here, you will see. Without Spring Boot, setting up a basic API requires manual configuration. If you are not able to understand what is written, you can skip it. No problem. But, I am telling you. Okay? It is saying, look. In the old days, when Spring Boot was not there, we used to write such codes to make an API. Okay? We are making an API in the name of Hello. Okay? So, it is written here. We need to manually set up a Spring application context in the main method. It is saying, in the main method, we are configuring the application context. I will tell you what is application context in a minute. But, look here. We are not doing it here. It is written here. We use the Spring Boot application annotation on the main class. Okay? In the main class, we have used the Spring Boot application annotation. This single annotation. Let's add it on the class and call it an annotation. Okay? Annotation means we are giving a hint. Hint. We are giving an instruction that this thing is like this. That thing is like this. Okay? We will see in the future. Okay? Now, look. It is a hint. Annotation means we are giving a hint. Okay? So, what is written here? We use Spring Boot application annotation in the main class. This single annotation replaces the need for setting up manual Spring application context. We no longer need to explicitly create an application context using annotation config application context as Spring Boot handles that behind the scenes. We use Spring application dot run. Spring application dot run to start the application. And Spring Boot takes care of configuring the embedded web server. Which I told you. And other necessary components. The Spring Boot application annotation alone brings in a lot of pre-configured features including automatic component scanning and embedded server configuration. Embedded server configuration. You must have understood. I will tell you now. Which would have required more steps in a traditional Spring setup. Okay? Automatic component scanning does it. It's a good thing. But what is it? Listen carefully. Whether it is Spring or Spring Boot. In their language, there are some beans. What are beans? There are beans. Okay, what are these beans? There is nothing. There is a class. There is an object. We used to do std std equal to new std. What is this? It is an object. What is a bean? It is an object. But bean should... But std std equal to new std. If we have to do it in another class, again std std equal to new std. If we have to do it in the third class, again std std equal to new std. Stay calm. But we can reuse the bean. Once... In the code, once create... any bean or any object... Bean is an object. Create it once. And the whole code base will use the same created object. It will not reinitialize it again. This is a bean. Okay? So, in the spring, in the old days... we used to write some code. How many beans are there? How many beans are there? Tell me, sir. Where should I scan? Right? How many beans are there in our code base? We had to mention that. Tell me, where should I scan? It automatically does Spring Boot Application Annotation. Give this. It will understand. We will go into more details later. Okay? And we read that, look... in Spring, we had to create this Application Context. But here, things happen automatically in Spring Boot. Now, what is this Application Context? Listen. The code of Spring or Spring Boot... The code of Spring or Spring Boot... requires a bean. Bean is an object. Okay? We are not doing std std equal to new std. We will go to Application Context. Give me that bean. It will give the bean. Okay? I had told you... that... what is a bean? Configure it once... and everyone will use it. Okay? So, how does it work? Java code, wherever you want to use it... Okay? Suppose, it is a std std. You have made it a bean. So, you don't need to do std std equal to new std. You will go to Application Context. You will tell it. Okay? Give me that bean. It will give that. So, it is written there. Application Context means this. Okay? It makes a bean. And gives it to you. Okay? So, it had to be manually configured. In the old days. But now, it doesn't have to be done in Spring Boot. Okay? And we will go into the details later. Okay? That's enough for now. In this video. Okay? There is a small thing. Requirements. IntelliJ should be installed on your system. And Java should be installed. Do that. There are a lot of tutorials. Okay, guys. That's it for this video. You will get the link of the next video on this card.