GeekArticles
Java
J2SE
Java
J2SEAn annotation-based persistence framework
Use J2SE 5 annotations to eliminate getters and setters Summary The getter/setter idiom has always been problematic; it allows too-broad access to the implementation of your classes, degrading maintainability as a consequence. The J2SE 5 annotation (or metadata) feature provides an alternative. Rather than using introspection to find get/set methods, you can "tag" an object with an annotation and then access that annotation at either compilation or at runtime. This article both...
Sponsored Links
Related Topics
Subscribe via RSS
J2SE
- An annotation-based persistence framework
- Using Drools in Your Enterprise Java Application
- Introduction to the ASM 2.0 Bytecode Framework
- Important Notice for ONJava Readers About O'Reilly RSS and Atom Feeds
- Hacking Swing with Undocumented Classes and Properties
- iBatis DAO
- Hibernate 3 Formulas
- Give Your Business Logic a Framework with Drools
- Web Services Messaging with Apache Axis2: Concepts and Techniques
- Eclipse Plugins Exposed, Part 3: Customizing a Wizard
