Have you ever understood how dependency injection works behind the scenes? How EJBs are flying to the client when looked up by the JNDI? How Hibernate is able to manage the entities? Your ability to understand and visualize all these important aspects lies in how good you are at Java Reflection. Check it here.

About the author: Krishna Mohan Koyya Krishna is an author and principle technology consultant at Glarimy Technologies Services, Bangalore. He spent more than a decade at companies like Cisco Systems, Wipro Technologies and etc in the past.

Java Reflection

2010-12-16

Dynamic loading of classes

Creating objects using new operator has its own set of disadvantages. It leads to changes in code in future. Instead, loading classed dynamically using reflection makes the code more reusable. This post demonstrates this concept.
2010-11-06

Setting the stage

Reflection is a powerful feature of Java programming language to analyze Java classes and objects at runtime. We would examine this feature in detail in this chapter. To begin with, we would first look into a small stand alone Java demo application. Then, step by step, we would look into various facets of Reflection by refactoring this application.