Skip to content
Sharp

Spring Core · interview question

Why do teams use Spring’s dynamic proxy for @Transactional in production code?

Multiple choiceEasychapter-9-curatedpremiumspring-coretransactions-and-proxies
Choose one answer
Answer and explanation

Correct answer

D. To intercept method calls and manage transactions

Why

Spring’s dynamic proxies intercept method calls to manage transactions by beginning, committing, or rolling back transactions as needed.

Test yourself on Spring Core

A free test with instant, explained results. No account needed.

Start free test
All Spring Core questions →