Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 38235 invoked from network); 19 Jan 2006 22:54:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Jan 2006 22:54:08 -0000 Received: (qmail 26015 invoked by uid 500); 19 Jan 2006 22:53:58 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 26007 invoked by uid 500); 19 Jan 2006 22:53:58 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 25994 invoked by uid 99); 19 Jan 2006 22:53:58 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jan 2006 14:53:58 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [202.73.198.178] (HELO ismx01ldv.vodafone.co.nz) (202.73.198.178) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jan 2006 14:53:57 -0800 Received: from vfnz-bh1.vf-nz.internal.vodafone.com (Not Verified[10.106.33.14]) by ismx01ldv.vodafone.co.nz with NetIQ MailMarshal (v6,0,3,8) id ; Fri, 20 Jan 2006 11:54:23 +1300 Received: from vfnz-ms1.vf-nz.internal.vodafone.com ([10.106.33.10]) by vfnz-bh1.vf-nz.internal.vodafone.com with Microsoft SMTPSVC(6.0.3790.211); Fri, 20 Jan 2006 11:54:05 +1300 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C61D4B.352D12B8" Subject: Generated Stub Thread-safe? Date: Fri, 20 Jan 2006 11:53:47 +1300 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Generated Stub Thread-safe? Thread-Index: AcYdSzELKhN2XKfXRNCl66wcX+ei8w== From: "Ferguson, Neil, VF-NZ" To: X-OriginalArrivalTime: 19 Jan 2006 22:54:05.0634 (UTC) FILETIME=[3FC62220:01C61D4B] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------_=_NextPart_001_01C61D4B.352D12B8 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Hi. I was wondering if anybody could give me a definitive answer on whether the stub generated by WSDL2Java (Axis 1.3) is thread-safe (i.e. it can safely be used by multiple concurrent threads without external synchronization)? Unfortunately "I've tried it and it works" probably won't be enough for me, I'll probably need some documentation to back it up. Also, if it is thread-safe are there any performance implications of multiple threads using it (i.e. it does lots of synchronization internally)? Perhaps I should just pool my stubs to be on the safe side. Any thoughts? Thanks. Neil. -------------------------------------------------------------------------= ---------------------- Have you seen our website?.... http://www.vodafone.co.nz Manage Your Account, check your Vodafone Mail and send web2TXT online: ht= tp://www.vodafone.co.nz/myvodafone CAUTION: This correspondence is confidential and intended for the named r= ecipient(s) only. If you are not the named recipient and receive this correspondence in err= or, you must not copy, distribute or take any action in reliance on it and you should delete it = from your system and notify the sender immediately. Thank you. Unless otherwise stated, any views or opinions expressed are solely those= =20of the author and do not represent those of Vodafone New Zealand Limited. Vodafone New Zealand Limited 20 Viaduct Harbour Avenue, Private Bag 92161, Auckland 1030 Telephone + 64 9 355 2000 Facsimile + 64 9 355 2001 ------_=_NextPart_001_01C61D4B.352D12B8 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Hi.

I was wondering if anybody could g= ive me a definitive answer on whether the stub generated by WSDL2Java (Ax= is 1.3) is thread-safe (i.e. it can safely be used by multiple concurrent= =20threads without external synchronization)? Unfortunately "I've tr= ied it and it works" probably won't be enough for me, I'll probably = need some documentation to back it up.

Also, if it is thread-safe are the= re any performance implications of multiple threads using it (i.e. it doe= s lots of synchronization internally)?

Perhaps I should just pool my stub= s to be on the safe side. Any thoughts?

Thanks.

Neil.


 
Have you seen our website? .... www.vodafone.co.nz
 
Manage Your Account, check your Vo= dafone Mail=20 and send web2TXT online: www.vodafone.co.nz/myvodafone
 

CAUTION: This correspondence is confidential and inte= nded for=20 the named recipient(s) only.  If you are not the named recipient and= =20 receive this correspondence in error, you must not copy, distribute or ta= ke any=20 action in reliance on it and you should delete it from your system and no= tify=20 the sender immediately.  Thank you.
 
Unless otherwise stated, any views or op= inions=20 expressed are solely those of the author and do not represent those of Vo= dafone=20 New Zealand Limited.
 
20 Viaduct Harbour Avenue, Priva= te Bag=20 92161, Auckland 1030
Telephone + 64 9 355 2000
Facsimile + 64 9 355= =20 2001

------_=_NextPart_001_01C61D4B.352D12B8--