This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Websphere and the fly likes Accessing external DataSource Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Accessing external DataSource" Watch "Accessing external DataSource" New topic
Author

Accessing external DataSource

John Smith
Greenhorn

Joined: Oct 07, 2003
Posts: 15
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

Joined: Apr 05, 2005
Posts: 9
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.
 
subject: Accessing external DataSource