Start Learning
Javaneer
Back to the Spring path
🌿
Module 0

Spring Foundations

The container that runs everything.

The heart of the whole ecosystem: the IoC container, beans and their lifecycle, dependency injection, configuration, profiles, and aspect-oriented programming. Master these and the rest of Spring clicks into place.

7 Lessons in this stage1 h 54 min
Start the first lesson

Lessons in this stage

  1. 01

    Why Spring & the Ecosystem

    Intermediate

    What problem Spring solves, how the framework and Boot relate, and a map of the whole ecosystem you're about to learn.

    14 min
  2. 02

    Inversion of Control & the Container

    Intermediate

    The idea at Spring's core: hand control of object creation to a container, and let it wire your application together.

    16 min
  3. 03

    Beans, Scopes & the Lifecycle

    Intermediate

    What a bean actually is, the scopes it can live in, and the lifecycle callbacks from instantiation to destruction.

    16 min
  4. 04

    Dependency Injection in Depth

    Intermediate

    Constructor, setter, and field injection; resolving ambiguity with @Qualifier and @Primary; and why constructor injection wins.

    18 min
  5. 05

    Configuration & Component Scanning

    Intermediate

    Declaring beans with @Configuration and @Bean, component scanning with stereotypes, and how the two styles combine.

    16 min
  6. 06

    Properties, Profiles & the Environment

    Intermediate

    Externalize configuration with properties, bind it to typed objects, and switch behavior per environment with profiles.

    16 min
  7. 07

    Aspect-Oriented Programming

    Advanced

    Factor out cross-cutting concerns like logging, security, and transactions with aspects, advice, and Spring's proxies.

    18 min

Ready to test yourself?

Take the stage assessment to check your mastery. Pass it to earn a stage badge toward your Javaneer certificate.

Take the assessment