java annotations: library to override annotations with xml files
Posted
by flybywire
on Stack Overflow
See other posts from Stack Overflow
or by flybywire
Published on 2009-09-24T08:15:09Z
Indexed on
2010/04/07
20:23 UTC
Read the original article
Hit count: 737
Java has annotations and that is good. However, some developers feel that it is best to annotate code with metadata using xml files - others prefer annotations but would use metadata to override annotations in source code.
I am writing a Java framework that uses annotations. The question is: is there a standard way to define and parse metadata from xml files. I think this is something every framework that uses annotations could benefit from but I can seem to find something like this on the Internet.
Must I roll my own xml parsing/validation or has someone already done something like this?
© Stack Overflow or respective owner