A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java 8 in Action
this week in the
Two different datasource resource reference in web.xml
Joined: Dec 08, 2009
Jul 30, 2010 03:14:39
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.
Joined: Feb 13, 2004
Jul 30, 2010 05:40:01
You can have any number of
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)
It is sorta covered in the
JavaRanch Style Guide
subject: Two different datasource resource reference in web.xml
WAS7: Resource reference for Datasource
Problem with JBoss
Reuse of Data Source
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014