Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
JSP - A mailing list about Java Server Pages specification and reference
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
RES: AW: Urgent help, please!Best practices using Connection Pool

RES: AW: Urgent help, please!Best practices using Connection Pool

2003-10-09       - By Jose Euclides da Silva Junior - DATAPREVRJ

 Back
Good! Its enough to me! So, i always can use the 'close()' method whenever
the query statement ends since my connection pool will stand 'alive', still.
Of course, my pool wraps the connection object... My email service was down
yesterday...
Thanks at all,
Euclides.

-- --Mensagem original-- --
De: Adam Hardy [mailto:ahardy.struts@(protected)]
Enviada em: quinta-feira, 9 de outubro de 2003 10:42
Para: Tomcat Users List
Assunto: Re: AW: Urgent help, please!Best practices using Connection
Pool


I think he must be having problems with his email because he send more
or less the same msg 12 hours ago but didn't respond to any of the replies.

On 10/09/2003 03:27 PM Nitschke Michael wrote:
> I could remember that there was a mail today that answered your question.
> The pool provides an wrapper for the connection object that you receive,
this means you call getConnection and you do not get the real connection
instead you recive an object implementing the Connection functionality with
an altered "close()" method, which does not close/release the connection,
but returns the connection to the pool.
>
> If it was to short, read the original post in the archives.
> Mike
>
> -- --Urspr�ngliche Nachricht-- --
> Von: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:Jose.Euclides@(protected)]
> Gesendet: Donnerstag, 09. Oktober 2003 15:27
> An: 'tomcat-user@(protected)'
> Betreff: Urgent help, please!Best practices using Connection Pool
>
> Hi gurus, help me please.
> i am using DBCP 1.0 to make connection pool avaiable. My question can be
> easy: since DBCP 1.0 doesnt create a singleton object ( just a datasource
> object), what should i do whenever my sql queries are done? Should i close
> the connection after each sql command is completed? But, if i do this,
will
> i loose my connection pool facility, so my next sql command will spend
more
> time since the connection process ( with the database ) would be started
> before the sql running. I really need to improve my database response
time!
> Thanks in advance,
> Euclides.
>
>
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
> For additional commands, e-mail: tomcat-user-help@(protected)
>
>
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
> For additional commands, e-mail: tomcat-user-help@(protected)
>
>

--
struts 1.1 + tomcat 5.0.12 + java 1.4.2
Linux 2.4.20 RH9


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.