This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes JDBC and Relational Databases 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 Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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 !



 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Load Datasource object from the *ds.xml file
 
It's not a secret anymore!