W
wish
Hello,
I'm writing a SOAP jws class, that runs on Axis 1.4/Tomcat 5.5. It performs
some database queries and returns results in HashMap or Hashtable. I'm
struggling with memory leak, which is in my opinion caused by not gc-ing
objects created in class methods using 'new' keyword.
My question is: are there any rules that should be followed when writing a
jws class, like which variables should be static (or perhaps of special
types?) or when to create or not to create new objects?
Thanks,
Peter
I'm writing a SOAP jws class, that runs on Axis 1.4/Tomcat 5.5. It performs
some database queries and returns results in HashMap or Hashtable. I'm
struggling with memory leak, which is in my opinion caused by not gc-ing
objects created in class methods using 'new' keyword.
My question is: are there any rules that should be followed when writing a
jws class, like which variables should be static (or perhaps of special
types?) or when to create or not to create new objects?
Thanks,
Peter