
How Spring Container Works and Why Proxies Surprise You
Follow a bean from definition to proxy to destruction, and learn why scopes, proxies and transactions behave the way they do inside the container.
The container underneath everything: beans, wiring, scopes, AOP and the events that make Spring work the way it does.

Follow a bean from definition to proxy to destruction, and learn why scopes, proxies and transactions behave the way they do inside the container.

A complete guide to Java reflection: inspect and invoke classes, proxies, method handles, modules, performance, native image limits and when not to use it.

Fix the Spring error about an unresolvable placeholder by checking the property name, the active profile, test resources and environment variable names.

Dependency injection means a class receives its collaborators instead of building them. See what that buys in tests and wiring, and what Spring adds.

Break the circular dependency Spring Boot refuses to start with by extracting a third bean, publishing an event or, as a last resort, using lazy injection.

Follow one HTTP request through filters, the DispatcherServlet, handler mapping, argument resolution, the controller and the response writer.

Define a custom Java annotation with retention, target and parameters, read it with reflection, build a validator and see where processors fit.

Write a logging aspect with Spring AOP: add the starter, define pointcuts for services, log arguments, results and failures, and avoid leaking data.

Find why Spring cannot supply a bean of the type you asked for, from component scanning and missing annotations to profiles and test slices.

Resolve the Spring error about several matching beans with @Primary, @Qualifier or by injecting all of them, and learn which one fits.

Fix ClassNotFoundException for javax or jakarta classes after upgrading Spring Boot or a server by finding the library or container on the wrong namespace.

Understand the two causes of BeanCurrentlyInCreationException, a true dependency cycle and an early reference that later got wrapped in a proxy.
We send one email when a new post is published. No spam.