why no destructor
843859Dec 6 2005 — edited Dec 7 2005I'm new to Java and I wonder why there is no destructor for the
connection class, to disconnect. The place where I work is having
to restart their tomcat server multiple times a day because too
many connections are left open.
I know the code is bad, you dont have to tell me.
Is it proper to have a close connection in the destructor?
Thank in advance!