🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.database
Article #457

Re: One database connection

#457
From: Paul Nichols (TeamB)
Date: Thu, 15 Sep 2005 03:08
26 lines
2127 bytes
"tom" <zhangx@gaia.ecs.csus.edu> wrote in message
news:431f62e7$1@newsgroups.borland.com...
>
> Is a standalone web start Java application a good candidate for connection
> pool?
>
>
>
The only benefit in this scenario, is to tier your application. Since each
client is creating its own connection (with a Client Application residing on
the user's desktop),
Connection Pooling only helps if you are obtaining and using connections
from a server pool.

The desktop would use the pool on the server. Make sure you get a handle to
the connection in your client app. If you do not, and you do not release the
connection back to the pool (ie. close the connection after each connection
is obtained), you are going to suffer from memory leaks.

However, the pool mechanism on the server, is only going to be a real
benefit from a stabd-alone app in getting connections faster and if you
remote some of your calls and make the client thinner anyway. If you are
planning to use the Database Components, it may not buy you much speed
improvement at all (unless you are planning some type of briefcase or rowset
type implementation).
Technical Details
Message-ID: <43279066$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <431e8b48$1@newsgroups.borland.com> <431f62e7$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1073da,2754feffad9f0248
X-Google-Attributes: gid1073da,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Paul Nichols \(TeamB\)" <paul@comp.net>
From: "Paul Nichols \(TeamB\)" <paul@comp.net>
Newsgroups: borland.public.jbuilder.database
References: <431e8b48$1@newsgroups.borland.com> <431f62e7$1@newsgroups.borland.com>
Subject: Re: One database connection
Date: Wed, 14 Sep 2005 22:08:03 -0500
Lines: 33
Organization: clc
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 71.8.69.112
Message-ID: <43279066$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1126666342 71.8.69.112 (13 Sep 2005 19:52:22 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail