File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases 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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Using multiple datasources in struts" Watch "Using multiple datasources in struts" New topic

Using multiple datasources in struts


Joined: Aug 23, 2004
Posts: 6
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.

Jyothi Lature
Ranch Hand

Joined: Oct 31, 2001
Posts: 60

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

Joined: Jan 10, 2002
Posts: 63873

"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.

Forum Bartender

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Using multiple datasources in struts
It's not a secret anymore!