Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

reflection in java

 
Rauhl Roy
Ranch Hand
Posts: 401
Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can start with Sun's tutorial.
 
Muhammad Khojaye
Ranch Hand
Posts: 449
IntelliJ IDE Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can also start with Java Reflection Article with some good examples here and here
 
Tim McMurry
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 339
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic