On 4/27/07, David Smith <[EMAIL PROTECTED]> wrote:
But the code you posted does not create a new DataSource object.  It
just gets a reference to an existing one stored in JNDI.  Nothing new
about the DataSource object.  Note the lack of a new operator.

Good post, thank you for pointing this.

The only new operator concerning the snippet that obtains a ds object
I see in my code is:
Context initContext = new InitialContext(); //(1)

Just to clarify, the consensus from this thread is that there's no
need to create a DataSource object when Tomcat starts up.

Regards
-Rashmi

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to