closing resource connections
fw at deneb.enyo.de
Tue Dec 23 12:17:54 PST 2008
* Victor Cheung:
> is it recommended that we explicitly close all resource connections?
> for example, database connections, web service connections, after we
> use them? (and even if we are using frameworks such as
I don't know what special support J2EE has in this area. From what
I've seen, it relies heavily on object pooling, which means that
closing a resource likely returns it to the pool only (from where it
can be reused).
More information about the hotspot-gc-use