aspose file tools*
The moose likes JDBC and the fly likes Load Datasource object from the *ds.xml file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Load Datasource object from the *ds.xml file" Watch "Load Datasource object from the *ds.xml file" New topic
Author

Load Datasource object from the *ds.xml file

Y Rach
Greenhorn

Joined: Mar 29, 2011
Posts: 9
I have *-ds.xml .
There are defined connection properties there.
One of them is <security-domain>some-domain</security-domain>.
This option is placed in the other conf file.

But the question is :
How can I create Datasource object from this file ?

I can't find some simple way by googling..such as *.load(xml).

Thanks !



 
Consider Paul's rocket mass heater.
 
subject: Load Datasource object from the *ds.xml file