jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marius Scurtescu <mar...@multiactive.com>
Subject Re: jdbc next week
Date Sat, 27 Jan 2001 00:01:10 GMT
Well, the name of the attribute could be "dataSourceScope"
or something similar...

> "Delagrange, Morgan" wrote:
> 
> Hmm, potentially confusing.  I could see users thinking it's the connection that's getting
application scope.
> 
> > -----Original Message-----
> > From: Marius Scurtescu [mailto:marius@multiactive.com]
> > Sent: Friday, January 26, 2001 5:24 PM
> > To: taglibs-dev@jakarta.apache.org
> > Subject: Re: jdbc next week
> >
> >
> > One more observation, related to the Connection tag.
> > Currently it can be created either based on a driver
> > and url or based on a data source.
> >
> > If a data source is used then the tag will try to get
> > the DataSource object from a page attribute. In my
> > application the best solution would be to store the
> > data source at the application level, this would be
> > done by a servlet.
> >
> > I suggest adding one more attribute to the Connection
> > tag, this should specify a scope for the data source
> > object. The possible values would be "page", "request",
> > "session" and "application", with the default being "page".
> >
> > For example:
> > <jdbc:connection id="conn" dataSource="ds" scope="application"/>
> >
> >
> > Regards,
> > Marius
> >
> > > "Delagrange, Morgan" wrote:
> > >
> > > Hi all,
> > >
> > > I'm going to try finishing up the JDBC taglib documentation
> > this weekend and prepare it for release.  Next week we can vote on
> > > whether or not it is ready.  If you want to check out the
> > source code beforehand, please feel free.
> > >
> > > - Morgan
> >
> > --
> > ------------------
> > Marius Scurtescu, Software Engineer
> > Tel: (604) 899-2835 Fax: (604) 899-2899
> > mailto:marius@multiactive.com
> > Multiactive Software Inc. http://www.multiactive.com
> > ------------------
> > Attract and retain customers with Multiactive Software --
> > proud winners of PC WEEK's "Best of COMDEX" award.
> > ------------------
> >

-- 
------------------
Marius Scurtescu, Software Engineer
Tel: (604) 899-2835 Fax: (604) 899-2899
mailto:marius@multiactive.com
Multiactive Software Inc. http://www.multiactive.com
------------------
Attract and retain customers with Multiactive Software --
proud winners of PC WEEK's "Best of COMDEX" award.
------------------

Mime
View raw message