File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes reflection in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "reflection in java" Watch "reflection in java" New topic

reflection in java

Rauhl Roy
Ranch Hand

Joined: Aug 01, 2006
Posts: 401

may i know the what is the reflection in java with an example and how to use it in programming .

many thanks in advance,
Christophe Verré

Joined: Nov 24, 2005
Posts: 14688

You can start with Sun's tutorial.

[My Blog]
All roads lead to JavaRanch
Muhammad Khojaye
Ranch Hand

Joined: Apr 12, 2009
Posts: 449

You can also start with Java Reflection Article with some good examples here and here
Tim McMurry

Joined: Oct 31, 2009
Posts: 22

also the book by Forman & Forman "Java Reflection in Action" from Manning is very good and describes situations where a Java programmer
could obtain elegant solutions to problems that might be hard to solve without reflection.
Jose Campana
Ranch Hand

Joined: May 28, 2007
Posts: 339
Howdi !

Those Links are incredibly useful, I used to think Reflection was just a Design Pattern, How wrong I was.

Great to learn something new.

I agree. Here's the link:
subject: reflection in java
It's not a secret anymore!