You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Swish <sw...@yahoo.ca> on 2003/02/19 17:32:15 UTC

DB Connection pool (how)?

Hi,

  Please excuse my ignorance, but does struts have a
libraries that implement a connection pool and if so,
how does one configure and use this pool?   Are there
any examples?  Any help will be greatly appreciated! 
Thanks in advance!

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca

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


Re: DB Connection pool (how)?

Posted by asatrasala <as...@netscape.net>.
Hello,
FYI,  
I use MSSQL server and opta2000.jar from
http://www.inetsoftware.de/English/produkte/JDBC_Overview/default.htm

Following are my parameters in struts-config.xml file
  <data-sources>
    <data-source>
      <set-property property="description"
                       value="test sample datasource"/>
      <set-property property="autoCommit"
                       value="false"/>
      <set-property property="driverClass"
                       value="com.inet.tds.TdsDriver"/>
      <set-property property="maxCount"
                       value="4"/>
      <set-property property="password"
                       value="guest"/>
      <set-property property="url"
                       value="jdbc:inetdae7:localhost:1433?database=test"/>
      <set-property property="user"
                       value="guest"/>
    </data-source>
  </data-sources>



swishey911@yahoo.ca wrote:

>Hi,
>
>  Please excuse my ignorance, but does struts have a
>libraries that implement a connection pool and if so,
>how does one configure and use this pool?   Are there
>any examples?  Any help will be greatly appreciated! 
>Thanks in advance!
>
>______________________________________________________________________ 
>Post your free ad now! http://personals.yahoo.ca
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>  
>

-- 
Your favorite stores, helpful shopping tools and great gift ideas. 
Experience the convenience of buying online with Shop@Netscape! 
http://shopnow.netscape.com/



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


RE: DB Connection pool (how)?

Posted by James Mitchell <jm...@apache.org>.
Amen brother!!!  Now go ye into all the nations and spread the Struts
gospel!!!


--
James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org/

"The man who does not read good books has no advantage over the man who
cannot read them."
	- Mark Twain (1835-1910)




> -----Original Message-----
> From: Swish [mailto:swishey911@yahoo.ca] 
> Sent: Wednesday, February 19, 2003 12:28 PM
> To: Struts Users Mailing List
> Subject: RE: DB Connection pool (how)?
> 
> 
> Thanks!!  Wow, struts is an awesome framework!
> 
> --- James Mitchell <jm...@apache.org> wrote: >
> http://jakarta.apache.org/struts/faqs/database.html
> > 
> > 
> > 
> > --
> > James Mitchell
> > Software Engineer/Struts Evangelist
> > http://www.open-tools.org/
> > 
> > "The man who does not read good books has no
> > advantage over the man who
> > cannot read them."
> > 	- Mark Twain (1835-1910)
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > > -----Original Message-----
> > > From: Swish [mailto:swishey911@yahoo.ca] 
> > > Sent: Wednesday, February 19, 2003 11:32 AM
> > > To: Struts Users Mailing List
> > > Subject: DB Connection pool (how)?
> > > 
> > > 
> > > Hi,
> > > 
> > >   Please excuse my ignorance, but does struts have
> > a
> > > libraries that implement a connection pool and if
> > so,
> > > how does one configure and use this pool?   Are
> > there
> > > any examples?  Any help will be greatly
> > appreciated! 
> > > Thanks in advance!
> > > 
> > >
> >
> ______________________________________________________________
> > > ________ 
> > > Post your free ad now! http://personals.yahoo.ca
> > > 
> > >
> >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > struts-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
> > struts-user-help@jakarta.apache.org
> > > 
> > 
> > 
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> > struts-user-help@jakarta.apache.org
> >  
> 
> ______________________________________________________________
> ________ 
> Post your free ad now! http://personals.yahoo.ca
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 


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


RE: DB Connection pool (how)?

Posted by Swish <sw...@yahoo.ca>.
Thanks!!  Wow, struts is an awesome framework!

--- James Mitchell <jm...@apache.org> wrote: >
http://jakarta.apache.org/struts/faqs/database.html
> 
> 
> 
> --
> James Mitchell
> Software Engineer/Struts Evangelist
> http://www.open-tools.org/
> 
> "The man who does not read good books has no
> advantage over the man who
> cannot read them."
> 	- Mark Twain (1835-1910)
> 
> 
> 
> 
> 
> 
> 
> > -----Original Message-----
> > From: Swish [mailto:swishey911@yahoo.ca] 
> > Sent: Wednesday, February 19, 2003 11:32 AM
> > To: Struts Users Mailing List
> > Subject: DB Connection pool (how)?
> > 
> > 
> > Hi,
> > 
> >   Please excuse my ignorance, but does struts have
> a
> > libraries that implement a connection pool and if
> so,
> > how does one configure and use this pool?   Are
> there
> > any examples?  Any help will be greatly
> appreciated! 
> > Thanks in advance!
> > 
> >
>
______________________________________________________________
> > ________ 
> > Post your free ad now! http://personals.yahoo.ca
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> struts-user-help@jakarta.apache.org
> > 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> struts-user-help@jakarta.apache.org
>  

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca

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


RE: DB Connection pool (how)?

Posted by James Mitchell <jm...@apache.org>.
http://jakarta.apache.org/struts/faqs/database.html



--
James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org/

"The man who does not read good books has no advantage over the man who
cannot read them."
	- Mark Twain (1835-1910)







> -----Original Message-----
> From: Swish [mailto:swishey911@yahoo.ca] 
> Sent: Wednesday, February 19, 2003 11:32 AM
> To: Struts Users Mailing List
> Subject: DB Connection pool (how)?
> 
> 
> Hi,
> 
>   Please excuse my ignorance, but does struts have a
> libraries that implement a connection pool and if so,
> how does one configure and use this pool?   Are there
> any examples?  Any help will be greatly appreciated! 
> Thanks in advance!
> 
> ______________________________________________________________
> ________ 
> Post your free ad now! http://personals.yahoo.ca
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 


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