A hands-on repository for learning the Spring Framework through simple, practical Java examples and progressively structured projects.
- Understand the fundamentals of the Spring Framework.
- Learn how Spring manages objects and dependencies.
- Understand Dependency Injection (DI).
- Learn the difference between tight coupling and loose coupling.
- Build practical Spring examples step by step.
- Develop a strong foundation for Spring Boot and Java backend development.
- Java
- Spring Framework
- IntelliJ IDEA
- Git & GitHub
- Object Creation
- Dependencies
- Tight Coupling
- Dependency Injection
- Loose Coupling
- Spring IoC Container
- Spring Beans
- Configuration
- Annotations
Spring-Learning/
โ
โโโ README.md
โโโ .gitignore
โ
โโโ src/
โโโ com/
โโโ sahil/
โโโ spring/
โโโ basics/
โโโ car/
โ โโโ Car.java
โ โโโ Engine.java
โ โโโ Main.java
โ
โโโ computer/
โโโ Computer.java
โโโ Processor.java
โโโ Main.java
| # | Example | Concepts Covered | Status |
|---|---|---|---|
| 1 | Car Example | Object Creation, Dependency, Tight Coupling | ๐ข Completed |
| 2 | Computer Example | Object Creation, Dependency, Tight Coupling | ๐ข Completed |
The Car example demonstrates how one class can depend on another class.
Classes:
Car.javaEngine.javaMain.java
Concepts:
- Object Creation
- Dependency
- Tight Coupling
Status: ๐ข Completed
The Computer example demonstrates dependency between Computer and Processor classes.
Classes:
Computer.javaProcessor.javaMain.java
Concepts:
- Object Creation
- Dependency
- Tight Coupling
Status: ๐ข Completed
| Topic | Status |
|---|---|
| Object Creation | ๐ข Completed |
| Dependencies | ๐ข Completed |
| Tight Coupling | ๐ข Completed |
| Car Example | ๐ข Completed |
| Computer Example | ๐ข Completed |
| Dependency Injection | โฌ Not Started |
| Loose Coupling | โฌ Not Started |
| Spring IoC Container | โฌ Not Started |
| Spring Beans | โฌ Not Started |
| Spring Configuration | โฌ Not Started |
| Spring Annotations | โฌ Not Started |
| Spring Boot | โฌ Not Started |
Each example/project will follow this workflow:
Example / Project Completed
โ
Commit Example / Project
โ
Push to GitHub
โ
Update README.md
โ
Commit README Update
โ
Push README Update
โ
Start Next Example / Project
The repository will gradually cover:
- Dependency Injection
- Constructor Injection
- Setter Injection
- Field Injection
- Inversion of Control (IoC)
- Spring IoC Container
- Spring Beans
- Bean Configuration
- Component Scanning
- Spring Annotations
@Component@Autowired@Configuration@Bean- Loose Coupling
- Interfaces with Spring
- Spring Boot
- REST APIs
- Spring Data JPA
- Database Integration
- Spring Security
- Spring Boot Projects
Sahil Patil
Computer Science & Engineering Student Java | Spring | Backend Development | DSA
- GitHub: Sahilpatil2320
- LinkedIn: Sahil Patil
- LeetCode: Sahilpatil2320
This repository is created as a step-by-step Spring Framework learning journey.
The goal is to understand each concept through practical examples rather than only studying theory, while maintaining a clean GitHub repository that documents the complete learning progress.