Session
Using Java Reflection to Improve Enterprise Application Design
Michael Portwood, President, Exuberance, LLC
Track: Architecture
Date: Thursday, March 29
Time: 10:45am
- 11:30am
Location: Ballroom F
In this presentation, myths and misconceptions about reflection will be debunked, advantages presented, and strategies for applying reflection to design and code cited. Illustrative code segments will be used extensively and real-world solutions described.
Once these are debunked, rules of Java inheritance and object binding will be reviewed, emphasizing that reflection takes advantage of late binding, and why. Reflection package classes will be presented, and example code cited, showing solutions to the same problem using reflection versus non-reflection, highlighting reflection’s strategic advantages.
Reflection will then be presented as a technique for providing extensibility and pluggability. Strategies for its application will be presented, and its power as a mechanism for improving design patterns described, emphasizing reusability. Finally, techniques for applying reflection to existing code will be presented.