Hi Brett,
I've already designed, implemented and used a similar framework - use
XML to configure and drive Java components into an UI (not related to
GWT).
In the end, you may come to an conclusion, that configuring Java with
XML is not the right thing to do, because you are losing the static
typing and the "self awarenness" of the Java language, so well
supported by tools like Ecplise.
Imagine the XML reaching sizable proportions - how manageable will it
be? In Eclipse, you do Ctrl+T on a type or function, Ctrl+Alt+H on a
function, or a Java-search on a type and you know everything. You can
also refactor, etc.
Whith XML approach, you first need to evolve the supporting tools, and
it could be a long path. This is not to discourage you, just to
(possibly) provide some insight I've learned by experience.
I currently use java annotations where possible, altough they are a
bit limited, mainly because they don't support inheritance, and cannot
be instantiated.
But annotations stay glued to the Java code, so if it changes, the
annotations adapt (or break visibly).
J.
On Jul 15, 5:40 am, "brett.wooldridge" <
brett.wooldri...@gmail.com>
wrote: