On 29/03/2011 4:36 PM, Vitalii Tymchyshyn wrote: > Please note that you will get into problems with classloaders and > different containers. E.g. running a thread from classloader will > prevent this classloader to be GCd. Tomcat handles this (with a lot of > warnings), but it is not recommended practice. See > http://www.theserverside.com/discussions/thread.tss?thread_id=44353 or > http://stackoverflow.com/questions/533783/why-spawning-threads-in-j2ee-container-is-discouraged Good point. When running under a container, it'd be best to get a thread pool from the container via JNDI or using resource injection. that should be fairly easily handled using a connection param. -- Craig Ringer Tech-related writing at http://soapyfrogs.blogspot.com/
pgsql-jdbc by date:
Соглашаюсь с условиями обработки персональных данных