Hi,

In this link :
http://dev.mysql.com/tech-resources/articles/connection_pooling_with_connectorj.html,
we can preform connection pooling only after configuring it in our
configuration files.If it is in the case of struts1, struts-config.xml file
has a tag called <data-source/> and there we can configure.But,what about
struts2 how can we configure in its configuration file(struts.xml)?I think
only after configuring in the configuration file(for eg., struts.xml  in the
case of struts2),we can use the connection pool using a java program as it
is explained in the link provided by you.So the problem is with how to
configure the pool in the struts.xml?I think I am clear...!!

Thanks.

Jeromy Evans - Blue Sky Minds wrote:
> 
> 
> RajiR wrote:
>> Can't we implement connection pooling in struts2 alone?If so ,may I know
>> the
>> reason please...!!!
>>
>> Thanks.
>>
>>
>>   
> Struts 2 itself doesn't provide a connection pooling implementation and 
> probably shouldn't.
> 
> MySql provide a pooled DataSource that you can use immediately.  Set it 
> up the same way as your current DataSource
> http://dev.mysql.com/tech-resources/articles/connection_pooling_with_connectorj.html
> 
> Does that help?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Struts2-connection-pooling-using-MySQL-tp15584715p15586542.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to