Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Amrit Kashyap
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
hey javaranch guys!!!

what has happened to you???

Is not there anybody who can clear my doubt??
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36396
453
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Amrit,
Have you looked at the Oracle documentation yet? If so, please elaborate what is still unclear.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!