File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes Two different datasource resource reference in web.xml 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 » Products » Websphere
Bookmark "Two different datasource resource reference in web.xml" Watch "Two different datasource resource reference in web.xml" New topic
Author

Two different datasource resource reference in web.xml

ak swie
Greenhorn

Joined: Dec 08, 2009
Posts: 9
Hi
I am using WAS7 to deploy application over Eclipse3. I want to maintain two different datasources.
I am curious to know in case we can add two different datasource resource reference in web.xml.
Can anybody help me with this.
Thanks!!
Deepak Pant
Ranch Hand

Joined: Feb 13, 2004
Posts: 443
You can have any number of DataSource references in WEB.XML OR other deployment descriptors.

You can also chose to use direct JNDI using corba/iioc method and not declare any data source in any of the descriptors (include web.xml)
 
 
subject: Two different datasource resource reference in web.xml
 
Similar Threads
NameNotFoundException
WAS7: Resource reference for Datasource
regarding JNDI
Problem with JBoss
Reuse of Data Source