S02Spring request to databaseimplemented
From plain object ownership to a Spring proxy
Compare direct construction with container wiring and observe the transaction consequence of the ownership change.
REAL_SPRING_CONTEXTREAL_POSTGRESQL_STATENOT_OBSERVEDabout 50 min
Outcomes
- • Separate a Java object from a bean definition.
- • Explain constructor injection and proxy ownership.
- • Connect call path to transaction behavior.
Recommended context
- • s01-request-cost-xray
Endpoint family / fixed variants
- • /api/labs/container-wiring
Loading chapter experience…
Java objects & Spring DI available.