tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Brittain <jason.britt...@gmail.com>
Subject Re: Accessing a database from a Valve
Date Thu, 01 Oct 2009 17:54:52 GMT
Sometimes, maybe infrequently, there's a decent reason to implement a small
amount of code outside of the webapp, in the container space.  There are
cases where either modifying the webapp is off limits, or where it would
simplify things to implement it in container space so that it's just always
running, regardless of which webapps are started, stopped, deployed,
undeployed, or redeployed.  Of course, if Tomcat allowed configuring Filters
everywhere it currently allows configuring Valves (as we previously
discussed), then these could be implemented as Filters -- right now Valves
are the only option for doing this.

--
Jason Brittain


On Wed, Sep 30, 2009 at 10:25 AM, shetc <shetc@bellsouth.net> wrote:

>
> The person paying me :-)
>
> I suggested a filter but he prefers a valve even though it ties that
> functionality to Tomcat.
> --
> View this message in context:
> http://www.nabble.com/Accessing-a-database-from-a-Valve-tp25673641p25685437.html
> Sent from the Tomcat - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message