On Thu, Jul 31, 2008 at 11:18 PM, Niclas Hedhman <[EMAIL PROTECTED]> wrote:

> On Friday 01 August 2008 13:58, Richard Wallace wrote:
> > Basically what I'm talking about is the stuff in Struts that allows you
> to
> > just tell it what package the actions are in and then it will autodetect
> > them.
>
> In principle, we are against "auto-detection" algorithms, since they create
> a
> lot of problems in "corner-case deployment scenarios".
>
> Why do you feel it is too much of a burden to demand these to be declared
> explicitly at type-safe Java level??
>

I guess the main thing that really annoys me is having to configure the
actions in the struts.xml.  That's the biggest burden.  If it was just a
matter of using a method to do something like

addActionComposite(module, ListItems.class)
or
addActionObject(module, ListItems.class)

and that inspected the ListItems class and checked for annotations and such
and configured struts then that would be enough to make me happy.  That's
the biggest benefit I get from the autodetection is not having to write and
maintain a separate xml file.



>
>
> Cheers
> --
> Niclas Hedhman, Software Developer
>
> I  live here; http://tinyurl.com/2qq9er
> I  work here; http://tinyurl.com/2ymelc
> I relax here; http://tinyurl.com/2cgsug
>
> _______________________________________________
> qi4j-dev mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/qi4j-dev
>
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to