Java Reflection in Action - Softcover

Forman, Ira R.; Forman, Nate

 
9781932394184: Java Reflection in Action

Synopsis

You are a Java developer. You are asked to add a simple feature to your application. But "simple" can be deceiving: you have to make many changes, in locations which can be difficult to find.

If this sounds familiar, you want to know about Java reflection. With reflection, you can work smarter by designing flexible applications to which you can easily add likely new requirements. Then, with a few code changes in easy-to-find places, you've got the job done. Reflection adds a new dimension to your programming skills. It will boost your effectiveness.

Java Reflection in Action starts from the basics. It gradually builds a complete understanding, adding as it goes reflective concepts illustrated with many small examples that are useful in real applications.

In a subplot, the book follows a programmer, George, as he tackles common but difficult tasks. In each case, George finds flexible, reflective solutions that replace the usual hard-coded ones. The power of reflection becomes clear through his story.

What's Inside

  • Introduction to reflective programming
  • How reflective code generation can address common cross-cutting concerns
  • How to load new classes dynamically into a running application
  • How to decide when reflection is the best solution

"synopsis" may belong to another edition of this title.

About the Author

Dr. Ira Forman is a senior software engineer at IBM. He started working on reflection in the early 1990s when he developped IBM’s SOM Metaclass Framework. Nate Forman works for Ticom Geomatics where he uses reflection in day-to-day problems. Ira and Nate are father and son. They live in Austin, Texas.

"About this title" may belong to another edition of this title.