Simply define 2 datasources as resources for your webapp and get them using a JNDI lookup.
You will not have a share transactionnal context until you use JTA and 2-pass commit, but for readonly access, you don't need it.
Nico.
Ryan julius a écrit :
Hi,
I would like, from a struts action, to query informations from 2 different databases: mySql and Oracle. both are on different servers, respectively (Jupiter:2740) and (orion:2556). How should I configure the system for being able to do that. Any references would be appreciated.
Thanks.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]