You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Lorenzo Jiménez <lj...@nacion.co.cr> on 2007/01/16 21:51:39 UTC

What configuration is preferable?

Hi there, I hope you can help me out.

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.


Thanks very much,

Lorenzo Jimenez


Si usted no es el destinatario indicado en este mensaje o responsable como persona de la entrega del mensaje, no debe copiar o reenviar este mensaje, por favor notifique al correo infosegura@nacion.com.  Para más referencia sobre términos importantes relacionados a este correo visite http://www.nacion.com/disclaimer/index_es2.htm

If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or send this message to anyone, please notify to infosegura@nacion.com.  Click on the following link for important additional terms relating to this e-mail http://www.nacion.com/disclaimer/index_en2.htm


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


Re: What configuration is preferable?

Posted by Sandy McArthur <sa...@apache.org>.
On 1/16/07, Lorenzo Jiménez <lj...@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