You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by starki78 <st...@libero.it> on 2005/07/29 08:57:54 UTC
How to access a Servers connection pool with Struts?
Ciao!
Is there any best practise accessing a global connection pool with Struts?
I cannot find the benefit in defining a datasource in Struts-Config.
Can Struts give me support controlling the maximal amounts of
connections on a servers connection-pool?
Up to now I don't see another solution as the use of JNDI-lookup
in the normal javax.sql way.
Thanks for any reply
Starki
____________________________________________________________
6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero!
Scaricalo su INTERNET GRATIS 6X http://www.libero.it
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: How to access a Servers connection pool with Struts?
Posted by Daniel Henrique Ferreira e Silva <dh...@gmail.com>.
Hi Starki,
Maybe this is a bit beyond your scope, but, if you are willing to do
plain JDBC, i'd like to suggest you to give iBATIS Data Mapper a try.
It's a cleaner and simpler way of issueing SQL statements to your
database, hiding all JDBC complexity. It is rock stable and has a
great community supporting it.
And it recently became an Apache project :-)
http://ibatis.apache.org
And if after reading its amazing documentation you still have some
doubts, join us at #funkycodemonkey on irc.darkmyst.org. There you'll
find some people with good experience on iBATIS and in a lot of other
stuff.
Cheers,
Daniel Silva.
On 7/29/05, starki78 <st...@libero.it> wrote:
> Ciao!
>
> Is there any best practise accessing a global connection pool with Struts?
> I cannot find the benefit in defining a datasource in Struts-Config.
> Can Struts give me support controlling the maximal amounts of
> connections on a servers connection-pool?
> Up to now I don't see another solution as the use of JNDI-lookup
> in the normal javax.sql way.
>
> Thanks for any reply
> Starki
>
>
>
> ____________________________________________________________
> 6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero!
> Scaricalo su INTERNET GRATIS 6X http://www.libero.it
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org