-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jens,

On 11/19/2009 5:44 PM, Jens Greven wrote:
> My problem is that I do not only deal with web applications, but also
> common desktop applications using JDBC connections and partly hibernate.
> If it were only for webapps I would certainly use the Tomcat context ;-)

This just sounds like a deployment issue: if you're building a
non-webapp, provide the configuration and your own DataSource bundled
together to populate the JNDI context. If you are building a webapp,
provide the same configuration inside META-INF/context.xml.

In either case, the code always locates the DataSource within the JNDI
context.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAksFy3AACgkQ9CaO5/Lv0PDrdACgiroN4lBNgqatvOugrqEG067F
sT8An15HhDcewXSTA1v0iIxqSC8CegBI
=/439
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to