wood burning stoves*
The moose likes JDBC and the fly likes Using multiple datasources in struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Bookmark "Using multiple datasources in struts" Watch "Using multiple datasources in struts" New topic
Author

Using multiple datasources in struts

Kumar
Greenhorn

Joined: Aug 23, 2004
Posts: 6
hi,
I have a doubt, as to whether is it possible to use multiple datasources in struts. If so then how do we communicate with different datsources through a client program written in struts.some example's may also be sent in this regard.

Kumar
Jyothi Lature
Ranch Hand

Joined: Oct 31, 2001
Posts: 60
Hi,

I guess you cud use DAO (Data Access Object) design pattern to implement multiple datasources.


Jyothi<br />Sun Certified Java Programmer<br />Brainbench Certified for Javascript
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61315
    
  66

"Kumar JC",

You have already been asked (in this topic) to change your display name to conform to Ranch standards. This is not optional. Please change your display name before your next post.

Be aware that accounts with invalid display names are subject to closure.

bear
Forum Bartender


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
GeeCON Prague 2014
 
subject: Using multiple datasources in struts