This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 19656

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
Accessing DataSource outside container
Accessing the Web Page that is created dynamically.
Standalone OC4J - RMI-access deny
Error trying to connect MS Acess 12 database
Reuse of Data Source