This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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 Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "WebSphere / Datasource" Watch "WebSphere / Datasource" New topic
Author

WebSphere / Datasource

Thierry DESMURGER
Greenhorn

Joined: Oct 30, 2003
Posts: 3
Hello,
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
Thierry
Mike Jay
Greenhorn

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 ...
-Mahesh
 
Have you checked out Aspose?
 
subject: WebSphere / Datasource
 
jQuery in Action, 3rd edition