On Sat, 15 Dec 2001 [EMAIL PROTECTED] wrote:

> Date: Sat, 15 Dec 2001 12:40:25 -0800
> From: [EMAIL PROTECTED]
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: Re: Application Design: initialization
>
> Ok great,
>
> I guess the only reason I wanted to do application ini'ng in a JSP
> file was so that I could easily view all the structures in the scopes
> (and tag markup like that is clear at a glance) and alter them without
> recompiling, But I agree that I am a bit held back by my past designs
> in coldfusion and that the application event listeners are the right
> place for that, so onwards :)  XML/property files will work best for
> this too.  I am quite new to JNDI so I need to study up there.
>

<shameless-plug>

If you want to use XML files for configuration processing, you might want
to take a look at the Digester package in the Jakarta Commons project here
at Apache <http://jakarta.apache.org/commons>.  Digester makes it easy to
configure a tree of objects that correspond to the nesting of the XML
elements.

Tomcat 4, in the nightly builds, uses Digester to process server.xml and
web.xml files, and create corresponding hierarchies of objects (previous
versions of Tomcat used an internal utility class called XmlMapper, whose
design was the inspiration for Digester).

There are also a bunch of other useful class libraries available in the
Commons, and Apache also offers sets of custom tag libraries for JSP
(taglibs), a couple of wb application frameworks (Struts and Turbine), and
a bunch more stuff (including Tomcat, of course).

A developer's life is a lot easier when you don't have to build everything
from scratch :-).

</shameless-plug>

> Thanks for the input.
> -John.
>

Craig


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to