commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandy McArthur" <sandy...@apache.org>
Subject Re: What configuration is preferable?
Date Wed, 17 Jan 2007 07:37:29 GMT
On 1/16/07, Lorenzo Jiménez <ljimenez@nacion.co.cr> wrote:
> In terms of resources, what is more efficiency or preferable having several applications?
>
> 1) Each application to have its own connection pool described in context.xml,
> 2) To have one connection pool described in server.xml and all applications use it, or,
> 3) To group applications to share one connection pool in their context.xml.

If each webapp is accessing the same database instance then #2 would
use the fewest resources. Otherwise it probably doesn't matter.

-- 
Sandy McArthur

"He who dares not offend cannot be honest."
- Thomas Paine

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message