I've been giving the project of upgrading our current JBOSS version from 2.4.4 
to 4.0.x.  Our current configuration uses servlets that use JDBC connections (a 
couple to a local MSSQL server, and one to an AS/400 using IBM Client Access).  

In 2.4.4, jboss.jcml contains an entry for an XADataSourceLoader, that provides 
a DefaultDomain, DataSourceClass, PoolName, URL, etc.  From what I've read, it 
appears that in 4.0.x, the database connections are done through defining 
DataSources, using -ds.xml files in deploy, and the appropriate jdbc.rar driver 
in lib.  

What isn't clear (to me, as a beginner) is how the original PoolName, URL, etc. 
translates into a JNDI, etc., so that the servlet can still use the data 
connection w/o modification to the servlet.  If that is even possible.

Can anyone point me to an example, or some documentation that spells out how 
this is done?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884809#3884809

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884809


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to