Transactions, Spring.
other ways to construct proxies (like Dynamic JDK proxies), but let’s leave it at that for the moment. Let’s see proxies in action in this picture: proxies As you can see from that diagram, the proxy has one job. Opening and closing database connections/transactions. And then delegating to the real