Axis JWS writing rules

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top