| Sign In/My Account | View Cart |
| Article: |
Validating Objects Through Metadata | |
| Subject: | Sounds nice, but... | |
| Date: | 2005-01-20 07:51:23 | |
| From: | hookomjj | |
|
Response to: Sounds nice, but...
|
||
|
In general, with the simplicity of baking your configuration data into the Java source file, you lose the flexibility to make changes to the configuration data without recompilation.
How slow is the reflection involved in the public static void validate() method?
Is the complexity worth it?
Along the lines of coupling framework behavior such as validation to beans-- based on the fact that annotations are "read" from objects, not "written", the coupling framework metadata won't affect the generic goals of your business objects. |
||