This content has been marked as final.
Show 2 replies
-
1. Re: own implementation of db connection / pooling
jagdeep Jun 24, 2008 3:42 PM (in response to jagdeep)As an addendum, even if I don't define a ds.xml, I need to customise some modules which require DB connections and ideally do so by doing the datasource lookup.
-
2. Re: own implementation of db connection / pooling
peterj Jun 24, 2008 5:56 PM (in response to jagdeep)On seeing your first post, I was going to say: If you are doing all of your own database handling, you do not need a *-ds.xml file.
But after seeing your second post, I should say: Use the *-ds.xml file for those apps that will use a data source to access the database (your app with the customized db access will continue to use that customized access).
There is no issue with using multiple mechanisms to access a single database - database were designed to handle multiple simultaneous client apps.