On 7/15/05, Nick Stuart <[EMAIL PROTECTED]> wrote:

> Ok, so looking through Castor to see what can be done about completely
> skipping the XML file altogether when possible with the use of
> annotations and have a few questions and looking for suggestions.
> 
> First, any thoughts on how to tell Castor what classes to look for
> annotations in? This should be available to search whole packages, or
> be told what classes specifically to look at. Not sure where to do
> this, I'm thinking about the possibility of using HiveMind to be able
> to configure things like this, but am open to ideas. Doing this
> through HiveMind you would have to add a contribution through a
> hivemind.xml. Yes, its writing XML to not write XML, but you only have
> to do it once and everything will stay in sync.

I'm not wild about continuing to add external dependencies to Castor
unless they're absolutely necessary. If the dependency provides
functionality that is vital to a certain functionality, then I can
certainly be convinced.

IIRC, Hivemind provides an inversion of control container. As you
yourself state, it's writing XML to keep from writing XML. Take that a
step further and it's adding an additional dependency to provide a
nice-to-have functionality. I'm sorry, I just don't see the benefit.

If you're at the stage where you're literally seeking the best manner
in which to configure Castor, I'm not convinced that using Hivemind is
the best way to achieve this. There's got to be an easier way.

Bruce 
-- 
perl -e 'print unpack("u30","D0G)[EMAIL 
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

The Castor Project
http://www.castor.org/

Apache Geronimo
http://geronimo.apache.org/

-------------------------------------------------
If you wish to unsubscribe from this list, please
send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to