Search this site

    Articles

    SpringUniverse

    Short written articles on Spring and Spring Boot. Each one teaches a concept on its own, with the related videos from the SpringUniverse YouTube channel beside it. Later curriculum topics without an article yet follow as coming soon.

    Learning map

    Topics in learning order. Coming soon items are not links yet; read and in-progress states appear in this browser once you start an article.

    1. 1How a Java Web App Works: From Browser to Spring and Back
    2. 2Spring Boot 4 from Zero: Your First App and REST Controller
    3. 3Spring Boot Starters and the BOM: Who Picks Your Versions
    4. 4Dependency Injection and the Spring Container
    5. 5Spring Boot Configuration: application.yml, @ConfigurationProperties, Profiles and a Little SpEL
    6. 6Spring Bean Lifecycle: @PostConstruct, @PreDestroy, @Lazy and @DependsOn
    7. 7How Spring Proxies Work: the Self-Call Trap, CGLIB vs JDK, final and private
    8. 8Spring Circular Dependencies: Why Boot Refuses Them and How to Fix Them
    9. 9Spring Boot Auto-Configuration: How It Decides, and How to Change, Write, Disable and Test It
    10. 10REST APIs with Spring Boot 4: CRUD, Useful Errors and API Versioning
    11. 11Calling Another API with RestClient and HTTP Service Clients
    12. 12Reading a Database with JdbcClient and Flyway
    13. T9.1Entities, repositories and derived queries with Hibernate 7 (coming soon)
    14. T9.2Relationships, N+1, fetch strategies, projections, paging (coming soon)
    15. T10.1@Transactional explained: boundaries, propagation, isolation, rollback rules, testing (coming soon)
    16. T11.1Testing pyramid in Spring: JUnit 6, @SpringBootTest, test slices (@WebMvcTest, @DataJpaTest), @MockitoBean, RestTestClient (coming soon)
    17. T11.2Real databases in tests with Testcontainers 2 and @ServiceConnection (coming soon)
    18. T12.1AOP: problems it solves, aspects, pointcuts, advice types, and where Spring already uses it (coming soon)
    19. T13.1Security basics: the filter chain, SecurityFilterChain bean, users, password encoding (coming soon)
    20. T13.2Authorization: URL rules, method security, roles vs authorities (coming soon)
    21. T13.3Stateless APIs: JWT resource server and OAuth2 login (coming soon)
    22. T14.1Production-ready: Actuator endpoints, health, Micrometer metrics, tracing with the OpenTelemetry starter (coming soon)
    23. T15.1Built-in resilience in Framework 7 (@Retryable, RetryTemplate, @ConcurrencyLimit) plus virtual threads in practice (coming soon)
    24. T16.1Spring for Apache Kafka 4: producers, @KafkaListener, errors and retries (coming soon)
    25. T16.2JMS with the new JmsClient, and when to choose a queue vs a log (coming soon)
    26. T17.1When (not) to split: a service pair with Config Server, discovery (Eureka) and Gateway (coming soon)
    27. T17.2Fault tolerance between services: circuit breaker, timeouts, tracing across services (coming soon)
    28. T18.1Executable JARs, container images with buildpacks, GraalVM native images, graceful shutdown (coming soon)
    29. T19.1Migrating a Boot 3.5 app to Boot 4: modules, Jackson 3, JUnit 6, renamed properties, OpenRewrite (coming soon)

    Articles

    1. How a Java Web App Works: From Browser to Spring and BackWhat happens between typing an address and seeing a JSON answer, written as a short trip through client, HTTP, JSON and a plain Java server, and the one part of that trip Spring automates.4 min read
    2. Spring Boot 4 from Zero: Your First App and REST ControllerHow to generate a Spring Boot 4 project, what each file is for, how @SpringBootApplication finds your classes, and how a small REST controller returns JSON.3 min read
    3. Spring Boot Starters and the BOM: Who Picks Your VersionsWhy a Spring Boot pom.xml needs no version numbers. A starter is a list of dependencies, the BOM is a list of version rules, and together they let you upgrade a whole stack by changing one number.3 min read
    4. Dependency Injection and the Spring ContainerWhy a class should ask for its helpers instead of building them, and what the Spring container does with that request — @Component and @Bean, component scanning, @Configuration and the ApplicationContext.4 min read
    5. Spring Boot Configuration: application.yml, @ConfigurationProperties, Profiles and a Little SpELHow one Spring Boot jar runs with different settings on a laptop, in tests and in production. Properties live outside the code, sources override each other in a fixed order, and profiles switch values and beans.4 min read
    6. Spring Bean Lifecycle: @PostConstruct, @PreDestroy, @Lazy and @DependsOnWhen Spring creates a bean, injects it, runs its setup and cleans it up, and how to put your code at the right moment. Covers @PostConstruct, @PreDestroy, @Lazy, @DependsOn and why cleanup needs a closed container.4 min read
    7. How Spring Proxies Work: the Self-Call Trap, CGLIB vs JDK, final and privateAnnotations such as @Async and @Transactional work through a proxy, a stand-in object Spring puts in front of your bean. Knowing what the proxy can and cannot see explains the self-call trap, final methods, final classes and private methods.4 min read
    8. Spring Circular Dependencies: Why Boot Refuses Them and How to Fix ThemTwo beans that need each other cannot both be created first, so Spring Boot stops at startup. Why the allow-circular-references flag and @Lazy only hide the cycle, and two ways to remove it.3 min read
    9. Spring Boot Auto-Configuration: How It Decides, and How to Change, Write, Disable and Test ItHow Spring Boot builds beans such as the web server from what is on the classpath, why your own bean wins, and how to change one setting, write an auto-configuration for your own library, turn one off and test it with ApplicationContextRunner.4 min read
    10. REST APIs with Spring Boot 4: CRUD, Useful Errors and API VersioningHow a small Spring Boot product API reads, adds, changes and removes data with the right status codes, answers errors with ProblemDetail, and keeps old callers working when the response has to change.4 min read
    11. Calling Another API with RestClient and HTTP Service ClientsHow a Spring Boot app calls another app's API, first with the RestClient builder Spring Boot provides, then with an HTTP service client described by @GetExchange, imported with @ImportHttpServices, and given its base URL by one property.3 min read
    12. Reading a Database with JdbcClient and FlywayHow Flyway creates and fills a products table from one numbered SQL file when the app starts, and how JdbcClient, which Spring Boot builds for you, maps those rows to records: a list with list(), and one product with param() and optional().4 min read

    Upcoming

    9. Spring Data JPA

    1. Entities, repositories and derived queries with Hibernate 7Coming soon (not yet published)
    2. Relationships, N+1, fetch strategies, projections, pagingComing soon (not yet published)

    10. Transactions

    1. @Transactional explained: boundaries, propagation, isolation, rollback rules, testingComing soon (not yet published)

    11. Testing

    1. Testing pyramid in Spring: JUnit 6, @SpringBootTest, test slices (@WebMvcTest, @DataJpaTest), @MockitoBean, RestTestClientComing soon (not yet published)
    2. Real databases in tests with Testcontainers 2 and @ServiceConnectionComing soon (not yet published)

    12. AOP and cross-cutting concerns

    1. AOP: problems it solves, aspects, pointcuts, advice types, and where Spring already uses itComing soon (not yet published)

    13. Spring Security 7

    1. Security basics: the filter chain, SecurityFilterChain bean, users, password encodingComing soon (not yet published)
    2. Authorization: URL rules, method security, roles vs authoritiesComing soon (not yet published)
    3. Stateless APIs: JWT resource server and OAuth2 loginComing soon (not yet published)

    14. Actuator and observability

    1. Production-ready: Actuator endpoints, health, Micrometer metrics, tracing with the OpenTelemetry starterComing soon (not yet published)

    15. Resilience and concurrency

    1. Built-in resilience in Framework 7 (@Retryable, RetryTemplate, @ConcurrencyLimit) plus virtual threads in practiceComing soon (not yet published)

    16. Messaging

    1. Spring for Apache Kafka 4: producers, @KafkaListener, errors and retriesComing soon (not yet published)
    2. JMS with the new JmsClient, and when to choose a queue vs a logComing soon (not yet published)

    17. Microservices with Spring Cloud

    1. When (not) to split: a service pair with Config Server, discovery (Eureka) and GatewayComing soon (not yet published)
    2. Fault tolerance between services: circuit breaker, timeouts, tracing across servicesComing soon (not yet published)

    18. Packaging and deployment

    1. Executable JARs, container images with buildpacks, GraalVM native images, graceful shutdownComing soon (not yet published)

    19. Upgrading to Boot 4 / Framework 7

    1. Migrating a Boot 3.5 app to Boot 4: modules, Jackson 3, JUnit 6, renamed properties, OpenRewriteComing soon (not yet published)

    Topic map

    The Spring annotations these 12 articles use most, and where each one comes up along the learning path. Columns follow the article numbers above; a darker cell means more mentions. Select a term to search for it.

    Spring annotations by article, in learning order. Each cell gives the number of mentions.
    Term1. How a Java Web App Works: From Browser to Spring and Back2. Spring Boot 4 from Zero: Your First App and REST Controller3. Spring Boot Starters and the BOM: Who Picks Your Versions4. Dependency Injection and the Spring Container5. Spring Boot Configuration: application.yml, @ConfigurationProperties, Profiles and a Little SpEL6. Spring Bean Lifecycle: @PostConstruct, @PreDestroy, @Lazy and @DependsOn7. How Spring Proxies Work: the Self-Call Trap, CGLIB vs JDK, final and private8. Spring Circular Dependencies: Why Boot Refuses Them and How to Fix Them9. Spring Boot Auto-Configuration: How It Decides, and How to Change, Write, Disable and Test It10. REST APIs with Spring Boot 4: CRUD, Useful Errors and API Versioning11. Calling Another API with RestClient and HTTP Service Clients12. Reading a Database with JdbcClient and Flyway
    @SpringBootApplicationnone5none1nonenonenonenone2none1none
    @Beannonenonenone8none3nonenone3nonenonenone
    @Componentnonenonenone611nonenonenonenonenonenone
    @PostConstructnonenonenonenonenone7none5nonenonenonenone
    @Lazynonenonenonenonenone3none4nonenonenonenone
    @RestController23nonenonenonenonenonenonenonenonenonenone
    @Autowirednonenonenone2none1nonenonenonenonenonenone
    @NotBlanknonenonenonenone2nonenonenonenone1nonenone
    @Transactionalnonenonenonenonenonenone10nonenonenonenonenone
    @Configurationnonenonenone6nonenonenonenonenonenonenonenone
    @ConfigurationPropertiesnonenonenonenone6nonenonenonenonenonenonenone
    @Asyncnonenonenonenonenonenone6nonenonenonenonenone
    @ConditionalOnMissingBeannonenonenonenonenonenonenonenone6nonenonenone
    @PreDestroynonenonenonenonenone4nonenonenonenonenonenone
    @Profilenonenonenonenone3nonenonenonenonenonenonenone
    @DependsOnnonenonenonenonenone3nonenonenonenonenonenone

    Weekly reviews

    1. Spring Boot 4.2 RC2, HTTP QUERY, RestTemplate Deprecated | W45This week we cover the second Spring release candidate wave, the Framework seven point one headlines, Project Detroit, and the JDK twenty seven garbage collector changes.W45 · 9 November 2026
    2. Java Trust Store Alert, Spring Boot 4.2 RC1, JDK 28 AOT Code | W44If your Java app talks to anything over HTTPS, it may still trust certificates that someone else can forge. That's the first thing to check this week. The keys of eight certificates from one authority, eMudhra, were compromised, and many Java runtimes still trust them.W44 · 30 October 2026

    Keyboard shortcuts

    /
    Open search
    Ctrl / ⌘ K
    Open search
    J or →
    Next article in the learning path
    K or ←
    Previous article in the learning path
    Alt I
    Define the selection or the highlighted term
    I
    Define the selection or the highlighted term
    ?
    This help
    Esc
    Close this help, search, or a definition