axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Jordahl <t...@macromedia.com>
Subject RE: Generated stubs are not thread safe
Date Mon, 07 Jan 2002 20:02:41 GMT

+1 to create a new call object in each method.
I assume creating them is not particularly expensive...

--
Tom Jordahl
Macromedia

-----Original Message-----
From: Russell Butek [mailto:butek@us.ibm.com]
Sent: Monday, January 07, 2002 2:00 PM
To: axis-dev@xml.apache.org
Subject: Generated stubs are not thread safe


Our generated stubs each have a single Call object which is reused in each
method.  The way this Call object is used is not thread safe.  We have to
do one of the following:

1.  synchronize each method.
2.  instantiate a new call object in each method.
3.  any other options?

Do folks have a preference?

Russell Butek
butek@us.ibm.com

Mime
View raw message