Article View: borland.public.jbuilder.database
Article #446Re: One database connection
From: Kevin Dean [TeamB]
Date: Wed, 07 Sep 2005 15:08
Date: Wed, 07 Sep 2005 15:08
31 lines
2200 bytes
2200 bytes
tom wrote: >Is there a way to setup only one database connection for MDI application? > >Currently, I have individual database connection for each of the >internalframes. They're pointing to the same >database. > >Besides being easier to maintain, are there any performance advantages? Check out "Developing Database Applications" in the online help. In particular, look for documentation on data modules; that will go a long way to helping you manage your database connections. There is certainly a performance advantage: opening a database connection is a time-consuming operation and multiple copies of your application running on your intranet can consume significant resources on the database server. -- Kevin Dean [TeamB] Dolphin Data Development Ltd. http://www.datadevelopment.com/ NEW WHITEPAPERS Team Development with JBuilder and Borland Enterprise Server Securing Borland Enterprise Server http://www.datadevelopment.com/papers/index.html Please see Borland's newsgroup guidelines at http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID:
<xn0e6ykac8xpnr001-kdean@www.teamb.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newshub.sdsu.edu!elnk-nf2-pas!elnk-pas-nf1!newsfeed.earthlink.net!pd7cy1no!shaw.ca!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<431e8b48$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
From: "Kevin Dean [TeamB]" <NkOdSePaAnM@datadevelopment.com>
Subject: Re: One database connection
Newsgroups: borland.public.jbuilder.database
References: <431e8b48$1@newsgroups.borland.com>
Organization: Dolphin Data Development Ltd.
User-Agent: XanaNews/1.17.5.9
X-Face: ":yn4zt^A_dn>6~{YJmu^B\'4w)e:apPM\VC=Dvf&*tASxX9|BYczkFd$xr.$vNSZ[3Uobrp]c4\+\l){!WQI.$]veP({HLd;CDYH?iN
Message-ID: <xn0e6ykac8xpnr001-kdean@www.teamb.com>
X-Ref: newsgroups.borland.com ~XNS:000002F5
MIME-Version: 1.0
Content-Type: text/plain; format=flowed
NNTP-Posting-Host: 70.27.188.228
Date: 7 Sep 2005 08:08:36 -0700
X-Trace: newsgroups.borland.com 1126105716 70.27.188.228 (7 Sep 2005 08:08:36 -0700)
Lines: 31
X-Authenticated-User: kdean
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newshub.sdsu.edu!elnk-nf2-pas!elnk-pas-nf1!newsfeed.earthlink.net!pd7cy1no!shaw.ca!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail