PostgreSQL
Relationships and Constraints
Normalization
Joins
JDBC
SQL Injection2
IoC & DI
Practice
Assignment
Back end Track
Under construction
<aside>
🚧
This page is currently under construction. Please check back later.
</aside>
Implementation plan:
- What is tight coupling and why it's a problem
- What is Inversion of Control (IoC) — the framework manages object creation
- What is Dependency Injection (DI) — a form of IoC
- Spring's IoC container
@Component — registering a class as a Spring bean
@Service, @Repository — specialized stereotypes
@Autowired — injecting dependencies (constructor injection preferred)
- Constructor injection vs field injection — why constructor is better
- How this enables testability (injecting mocks)
- Refactoring the in-memory API to use Spring DI properly
The HackYourFuture curriculum is licensed under CC BY-NC-SA 4.0

*https://hackyourfuture.net/*
Found a mistake or have a suggestion? Let us know in the feedback form.