aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes Accessing DataSource outside container Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Reply locked New topic
Author

Accessing DataSource outside container

Rahul Chaitanya
Greenhorn

Joined: Aug 22, 2010
Posts: 22
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

Joined: Oct 27, 2005
Posts: 19760
    
  20

Please UseOneThreadPerQuestion. Let's continue here.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Accessing DataSource outside container