• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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??
 
author & internet detective
Marshal
Posts: 38257
623
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.
 
PI day is 3.14 (march 14th) and is also einstein's birthday. And this is merely a tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!