Hi,
We are developing a J2EE application
where we are using "WSIF Extensions for J2C" to communicate to Mainframes Cobol
programs. Also we have multiple threads communicating to the back-end COBOL
programs simultaneously through WSIF. Since initialization of âWSIFServiceâ from
the WSDL file is a performance intensive process, we initialize âWSIFServiceâ
only once and share the reference of âWSIFServiceâ to all the threads. Can some
one please advice me whether it is proper to share the same âWSIFServiceâ
reference across threads or do I need to create a separate instance of
âWSIFServiceâ for each thread?
I am asking this question because,
when my application is subject to load by spawning multiple threads, I get some
inconsistent errors. Hence I would like to validate whether these errors are by
any chance related to the way in which I am using WSIFService across
threads.
Many thanks in
advance,
Ansar Pillai
| Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately and destroy all copies of this message and any attachments. |
