jQuery in Action, 3rd edition
The moose likes Websphere and the fly likes WebSphere / Datasource 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 » Products » Websphere
Bookmark "WebSphere / Datasource" Watch "WebSphere / Datasource" New topic

WebSphere / Datasource


Joined: Oct 30, 2003
Posts: 3
Here my problem: When I deploy my application under Websphere, I would like to have the possibility of modifying the datasource rather easily. Knowing that I have 3 datasources defines.
In fact, I have an EAR, when I deploy it which are the methods which exist to select another data base (example: base production, bases test...).
Thank you
Mike Jay

Joined: Apr 25, 2003
Posts: 5
I assume that you want to deploy your application to different environments, test, QA, Production and need to change the actual database you operate against to match the environment. If that is the case, it seems you could have a single datasource, say MYDataSource which your application always uses. When you change enviroments, you need only change the definition of the datasource to point to the desired database.
Hope this helps
Rufus BugleWeed
Ranch Hand

Joined: Feb 22, 2002
Posts: 1551
Your desire is the cause for a naming and directory service.
Mahesh Chalil
Ranch Hand

Joined: Jan 24, 2002
Posts: 147
You should look at "Referecnes" from EJB and Weblayer to this datasources for customization ...
I agree. Here's the link: http://aspose.com/file-tools
subject: WebSphere / Datasource
It's not a secret anymore!