I usually pick number two (if you are refering to a jndi datasource)
and leave the configuration to tomcat. So it's possible for me to move the apps to another app server
without changing my sql code. Just have to configure the same datasource over in the new app
server.



Mark Galbreath wrote:


I've read the literature and nothing seems definitive.  Apparently we can
declare a data source by:

1. Declaring it in struts-config;

2. Declaring it in the container app;

3. Declaring it in the source code;

4. Declaring it in the deployment descriptor;

5. Declaring it in the EJB deployment descriptor.

Is it just me or is this a pile of this?

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to