"Rogatkin, Dmitry" wrote:
>
> Hans,
> I'd recommend to replace new Date().getTime(); by
> System.currentTimeMillis(); for better performance.
Thanks, you're right. I've already made that change in the
implementation we use, but I'll correct the article as well.
There's also a bug in the recursion used in the getConnection
method that I discovered recently.
// Try again recursively
con = getConnection();
should be
// Try again recursively
return getConnection();
I'll take care of both these things in an update soon.
Regards,
Hans
--
Hans Bergsten [EMAIL PROTECTED]
Gefion Software http://www.gefionsoftware.com
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html