File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WebSphere / Datasource

 
Thierry DESMURGER
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1551
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your desire is the cause for a naming and directory service.
 
Mahesh Chalil
Ranch Hand
Posts: 147
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should look at "Referecnes" from EJB and Weblayer to this datasources for customization ...
-Mahesh
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic