Interesting thread!

With the XSLT transformation of the config file, it should be pretty
easy to experiment with these patterns.

I have mixed opinions about using controller chaining so extensively.  I
can't imagine the performance cost of all the RequestDispatcher forwards
is a good thing.

Why not use the ControllerSingleton base and use the init() method to
set up your own composition scheme?

<command name="foo">
  <controller class="blah.ComposedController">
    <component class="blah.ComponentOne"/>
    <component class="blah.ComponentTwo"/>
  </controller>
</command>

You would have to define the interfaces for your composition scheme, but
this can be tailored a lot easier than trying to force everything
through the Dispatcher.

Jeff Schnitzer
[EMAIL PROTECTED]


-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
[INVALID FOOTER]

Reply via email to