[Opensource] Multiple Components and configuration

Michael Rimov rimovm at centercomp.com
Mon Feb 3 22:21:44 PST 2003


Hey All,

Of of Expresso's easiest features is also seeming to be its curse in the 
J2EE world.... that of a configuration directory that we iterate over and 
pick up all files of the appropriate doctype and configure the system 
accordingly.

The problem is that iterating over a directory is a no-no in many ways....

So!  What I'm proposing may be a step down in convenience, but a step up in 
compatibility....  Specify all the struts configuration files to load 
within web.xml as init parameters to the ExpressoActionServlet.

What do you guys think?  Can you see another way of providing a more 
convenient way of loading multiple Expresso config files?

Thanks!
						-Mike





More information about the Opensource mailing list