jQuery in Action, 2nd edition*
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
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: 60821

"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] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link: http://aspose.com/file-tools
subject: Using multiple datasources in struts
Similar Threads
Connecting to MySQL 5 in JBoss 5 AS
how to connect struts1.1 with database ?
[Best practice] From Oracle to MySQL
Configuring multiple datasources