<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Reflection on Java &amp; Software Architecture Knowledge Hub</title><link>https://samirsahoo.github.io/design-patterns-hub/tags/reflection/</link><description>Recent content in Reflection on Java &amp; Software Architecture Knowledge Hub</description><generator>Hugo</generator><language>en-US</language><copyright>© 2026 Samir Kumar Sahoo (https://github.com/samirsahoo). All rights reserved.</copyright><atom:link href="https://samirsahoo.github.io/design-patterns-hub/tags/reflection/index.xml" rel="self" type="application/rss+xml"/><item><title>Reflection API and Dynamic Proxies</title><link>https://samirsahoo.github.io/design-patterns-hub/java/fundamentals/reflection-and-dynamic-proxies/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://samirsahoo.github.io/design-patterns-hub/java/fundamentals/reflection-and-dynamic-proxies/</guid><description>&lt;h2 id="simple-definition"&gt;Simple definition&lt;a class="heading-anchor" href="#simple-definition" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;Reflection&lt;/strong&gt; lets a program &lt;strong&gt;inspect and use&lt;/strong&gt; classes, methods, fields, constructors and annotations &lt;strong&gt;at runtime&lt;/strong&gt;, without knowing them at compile time.&lt;/li&gt;&#10;&lt;li&gt;A &lt;strong&gt;dynamic proxy&lt;/strong&gt; is an object created at runtime that &lt;strong&gt;implements interfaces&lt;/strong&gt; (or subclasses a class) and routes every method call through your handler code.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Together they are the engine behind dependency injection, AOP, ORMs, serialisation and test mocks.&lt;/p&gt;</description></item></channel></rss>