• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

What is location, xa-location and ejb-location in JNDI?

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi everybody,

I am using the following data source setting for my project work.

And everything is running fine.

But I don't know what's the purpose of location, xa-location and ejb-location attribute.

I've checked on internet as well but could not get a satisfying answer.

<data-source
class="oracle.jdbc.pool.OracleConnectionPoolDataSource"

name="ORCLDS"
location="jdbc/OrclDS"
xa-location="jdbc/xa/OrclXADS"
ejb-location="jdbc/PooledOrclDS"
url="jdbc racle:thin:@localhost:1521 rcl"
connection-driver="oracle.jdbc.driver.OracleDriver"
username="scott"

password="tiger"
inactivity-timeout="30"
/>

Can anybody explain these attributes to me?
 
Amrit Kashyap
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hey javaranch guys!!!

what has happened to you???

Is not there anybody who can clear my doubt??
 
author & internet detective
Posts: 41147
848
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Amrit,
Have you looked at the Oracle documentation yet? If so, please elaborate what is still unclear.
reply
    Bookmark Topic Watch Topic
  • New Topic