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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets 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 !



 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Load Datasource object from the *ds.xml file
 
Similar Threads
domain authentication for datasource
javax.jms.JMSSecurityException: User null is NOT authenticated
Want to use different data source than my security principal
connection pool with jboss
configure mySQL