Java Reflection in Action, 2005.pdf

(1749 KB) Pobierz
untitled
Ira R. Forman
Nate Forman
MANNING
141987399.001.png 141987399.002.png
P RAISE FOR ...
Java Reflection in Action
Java Reflection in Action is unique in presenting a clear account of all
the cool things you can do with reflection, and at the same time pro-
viding the sound conceptual basis that developers need to create
advanced applications. The book includes careful explanations of
sometimes perplexing programming techniques along with enough
background to understand how to extend and vary them. This book
overcomes reflection’s reputation as a mysterious and esoteric philo-
sophical pursuit, or as a set of messy error-prone coding tricks.
As reflection becomes increasingly common and useful in all sorts
of applications, it is great to finally have a book that features disci-
plined yet still creative and fun software engineering practices based
on reflection. Even occasional users will immediately adopt the
book’s patterns and idioms to solve common problems. Many of the
examples can be directly adapted for customized solutions in diverse
areas such as XML processing, automated software testing, and pro-
gram analysis tools. Readers will also find underlying rationales for
code performing introspection, proxies, class loading, and so on,
that are often seen but not often explained well in everyday Java pro-
grams. And even experts will find new ideas and well-thought out
advice for using some of the more subtle aspects of reflection.
—Prof. Doug Lea, SUNY Oswego,
author of Concurrent Programming in Java
Java has brought reflection to the programming masses, but they're
still struggling with it. The Formans turn struggle into adventure as
they guide you through one compelling example after another, each
one illustrating reflection’s power while avoiding its pitfalls.
—Dr. John Vlissides, IBM
coauthor of Design Patterns
Java Reflection
in Action
IRA R. FORMAN
NATE FORMAN
MANNING
Greenwich
(74° w. long.)
141987399.003.png
For online information and ordering of this and other Manning books, please visit
www.manning.com. The publisher offers discounts on this book when ordered in
quantity. For more information, please contact:
Special Sales Department
Manning Publications Co.
209 Bruce Park Avenue
Fax: (203) 661-9018
Greenwich, CT 06830
email: manning@manning.com
©2005 by Manning Publications Co. All rights reserved.
No part of this publication may be reproduced, stored in a retrieval system, or transmitted,
in any form or by means electronic, mechanical, photocopying, or otherwise, without
prior written permission of the publisher.
Many of the designations used by manufacturers and sellers to distinguish their products
are claimed as trademarks. Where those designations appear in the book, and Manning
Publications was aware of a trademark claim, the designations have been printed in initial
caps or all caps.
Recognizing the importance of preserving what has been written, it is Manning’s policy to have
the books they publish printed on acid-free paper, and we exert our best efforts to that end.
Manning Publications Co.
Copyeditor: Linda Recktenwald
209 Bruce Park Avenue
Typesetter: Dottie Marsico
Greenwich, CT 06830
Cover designer: Leslie Haimes
ISBN 1-932394-18-4
Printed in the United States of America
12345678910–VHG–07 060504
141987399.004.png
Zgłoś jeśli naruszono regulamin