File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Reply 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 agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Load Datasource object from the *ds.xml file
 
Similar Threads
javax.jms.JMSSecurityException: User null is NOT authenticated
domain authentication for datasource
configure mySQL
Want to use different data source than my security principal
connection pool with jboss