Win a copy of Design for the Mind this week in the Design forum!
    Bookmark Topic Watch Topic
  • New Topic

Accessing DataSource outside container

 
Rahul Chaitanya
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hello,

I wrote a standalone java application and this application needs to access the DB through the Data Sources that were established in Web Sphere. This application will not be deployed in Web Sphere but i will have to get the connection properties or connections from Web Sphere Data Sources itself.

All, I need was the connection properties..so that I can use them and connect from my standalone application. If I can access the data sources and get the connection that is well and good and if that is not possible is there any way that I can get the connection properties from the server and use in my java application to connect to the data base ?

Please, help.

Thanks.
 
Rob Spoor
Sheriff
Pie
Posts: 20511
54
Chrome Eclipse IDE Java Windows
  • Likes 1
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please UseOneThreadPerQuestion. Let's continue here.
 
    Bookmark Topic Watch Topic
  • New Topic