• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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
Marshal
Posts: 35709
408
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!