This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "reflection in java" Watch "reflection in java" New topic
Author

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,
rahul
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

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


http://muhammadkhojaye.blogspot.com/
Tim McMurry
Greenhorn

Joined: Oct 31, 2009
Posts: 22
Hi,

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.

Jose.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: reflection in java
 
Similar Threads
conversion from inputstream to fileinputstream
Java Reflection
How to get an specific object instance!
EL Mystery
how to Execute a String expression in Java 1.6