🌱 Spring Boot – Dependency Injection (DI)
🌱 Spring Boot – Dependency Injection (DI) 1️⃣ What is Dependency Injection? Dependency Injection (DI) is a design pattern in which the dependencies of a class are provided from…
🌱 Spring Boot – Dependency Injection (DI) 1️⃣ What is Dependency Injection? Dependency Injection (DI) is a design pattern in which the dependencies of a class are provided from…
🌱 Spring Boot – Controller Layer Annotations (Part-1) 1️⃣ @Controller 🔹 What is @Controller? @Controller indicates that a class is responsible for handling incoming HTTP requests. It is a…
🌱 Spring Boot – Bean and Its Lifecycle 1️⃣ What is a Bean? A Bean is a Java object that is created, managed, and destroyed by the Spring IoC…
1️⃣ What is Maven? Maven is a build automation and project management tool used primarily for Java and Spring Boot applications. 🎯 Problems Maven Solves Build generation (compile, test,…
Project Setup & Layered Architecture 📌 1. Introduction to Spring Boot Spring Boot is a framework built on top of Spring Framework that simplifies application development, configuration, and deployment. 🔑…
1️⃣ Servlet and Servlet Container 🔹 What is a Servlet? A Servlet is a Java class that handles HTTP requests and generates HTTP responses. It acts as a bridge between…
@Conditionalproperty use case use case1 We want to create only 1 bean, either a MySQL component or a NoSQL component use case -2 We have 2 components sharing the same…
Spring Boot Simplifies Java Servlet Management Before we talk about Spring Boot, first we need to understand "Servlet" and "Servlet container". They provide a foundation for building a web application.…