aspose 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Two different datasource resource reference in web.xml
 
Similar Threads
regarding JNDI
Problem with JBoss
Reuse of Data Source
NameNotFoundException
WAS7: Resource reference for Datasource