At 09:06 31.07.00 , Nick Newman wrote:
>Hi Robert,
>
>I certainly don't claim to fully understand, but it is my belief (from
>previous mailings - including from the Orion developers) that you should
>always be using the ejb-location. So why are the others there? I don't
>know..!
if you need an XADatasource (which you probably never will as an
application programmer) you use the xa-location, if you don't need a
datasource that is registered with a tm but still is pooled you use tha
pooled-location etc.. they all server different purposes. if you only
access your db via ejb you will probably only need the ejb-location.
robert
>Nick Newman, SCIENTECH Inc
>
>At 07:32 PM 7/30/00 -0400, you wrote:
> >Hi, I am using a JDBC 2.0 driver and configured the data-sources.xml with
> >this driver.
> >
> >I want to know which JNDI location I should be looking up to getConnection()
> >in my application to use connection pooling - these are the choices:
> >
> >location="jdbc/DefaultDS"
> >pooled-location="jdbc/DefaultPooledDS"
> >xa-location="jdbc/xa/DefaultXADS"
> >ejb-location="xx"
> >
> >Could someone explain when you use each of these contexts for a 2.0 driver.
> >I'm especially confused about using location or pooled-location contexts.
> >
> >
>
(-) Robert Kr�ger
(-) SIGNAL 7 Gesellschaft f�r Informationstechnologie mbH
(-) Br�der-Knau�-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de