Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Accessing external DataSource

 
John Smith
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using WSAD 5.1. I have a remote server where WebSphere 5 is installed. This remote server has JNDI name for oracle database connection pooling. What I am trying to do is that I am trying to get the db connection through this remote JNDI name(jdbc/MS). is there any way to do it? the server name is 'mslab'. Can someone write a code how to do it? i am not sure that this is related to InitialContext set up.

Thanks in advance.
 
selumiel eliude
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
i don�t know if this is what ur looking for but try the following:
go to the page web deployment descriptor
and see if this code helps
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic