This repository contains simple examples demonstrating Spring Boot concepts such as Bean, Constructor Injection, Setter Injection, Autowiring, Component Scanning, and Loose Coupling.
SpringExample/
βββ src/main/java/
β βββ car/example/bean/ # Bean example
β βββ car/example/constructor/ # Constructor injection
β βββ car/example/setter/ # Setter injection
β βββ com/example/autowire/ # Autowiring examples
β βββ com/example/autowired/anno/ # Annotation-based autowiring
β βββ com/example/componentscan/anno # Component scan demo
β βββ com/loose/coupling/ # Loose coupling example
βββ pom.xml # Maven configuration
π Running the Project Build the project using Maven:
mvn clean install
Run examples (e.g., App.java) from your IDE or via Maven:
mvn spring-boot:run
π©βπ» Author Kajal Shakya π GitHub: kajalshakya29 πΌ Aspiring Java Backend Developer | Skilled in Spring Boot & REST APIs | DSA Enthusiast