Java Reflection in Action (In Action series)
Books / Paperback
Books › Computers › Languages › Java
ISBN: 1932394184 / Publisher: Manning Publications, October 2004
Intended for intermediate Java programmers, this book presents several ways to produce flexible code using reflection. The authors, who have taught a software patterns course at the University of Texas, discuss dynamic loading, dynamic proxies, class stack introspection, the class loader, class-to-class transformations, and performance measurement techniques. Example code for an imaginary animal simulation software company runs throughout the book. Distributed in the U.S. by Independent Publishers Group. Annotation ©2004 Book News, Inc., Portland, OR (booknews.com)
Read More
Explaining the Java Reflection API and providing techniques for using it effectively, this guide describes the capabilities that allow a program to examine and modify itself at runtime. The java.lang.reflect package and its uses are covered, including a detailed discussion of Java's dynamic proxy facility. Less obvious reflective capabilities, such as call stack introspection and the Java class loader, are addressed. In recognition of the limitations of Java Reflection, the various ways to use Reflection to generate code and surpass these limitations are detailed. A discussion of performance analysis techniques and a look ahead at what is new in JDK 1.5 is included.
Read Less