axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amila Suriarachchi <amilasuriarach...@gmail.com>
Subject Re: Axis2 stub creation performance issue
Date Wed, 05 Jan 2011 05:03:18 GMT
On Tue, Jan 4, 2011 at 7:28 PM, suril <surildesai@hotmail.com> wrote:

>
> I am looking for some help with a performance issue that we are running
> into
> with Axis2.
>
> We have a library that creates a pool of connections to a server. The
> connection pool is created using Apache Commons Pool. We are creating an
> Axis2 stub instance in the library and using that for the SOAP
> communication.
>
> We are running into significant performance problems with the Axis2 stub
> object invocation under load.
>
> I had 2 questions on this:
> 1) Can we re-use the same Axis2 stub instance across threads in our
> library?
> We are using Axis2 1.4 -- we can move to a higher version if needed
>

you can not use stubs across threads. But you can use Axis2 1.5.4 latest
version which reuse the connections.

thanks,
Amila.


> 2) If this is not possible, then are there any suggestions/tips to optimize
> the performance and reduce the time taken for the Axis2 stub object
> creation?
>
> Thanks for your help
> --
> View this message in context:
> http://old.nabble.com/Axis2-stub-creation-performance-issue-tp30586755p30586755.html
> Sent from the Axis - Dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>


-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

Mime
View raw message