File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Accessing DataSource outside container

Rahul Chaitanya

Joined: Aug 22, 2010
Posts: 22

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 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.

Rob Spoor

Joined: Oct 27, 2005
Posts: 19543

Please UseOneThreadPerQuestion. Let's continue here.

How To Ask Questions How To Answer Questions
I agree. Here's the link:
subject: Accessing DataSource outside container
Similar Threads
Error trying to connect MS Acess 12 database
Accessing the Web Page that is created dynamically.
Reuse of Data Source
Standalone OC4J - RMI-access deny
Accessing DataSource outside container