Spring “Magic” with Proxy Design Pattern

A brief introduction to the Proxy design pattern and how Spring makes use of it

Vinicius Monteiro
Programming For Beginners
3 min readAug 2, 2022

--

Photo by AltumCode on Unsplash

Proxy is a structural design pattern used by frameworks such as Spring.

The Proxy design pattern controls and/or adds behaviour to another class. For instance, when you use the Transactional annotation in Spring, under the hood, Spring is…

--

--