471,350 Members | 1,539 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,350 software developers and data experts.

Java web service in .NET winform client is very slow for first time.

1
Hi,

I am consuming a java web service in .NET C# smart client, which is based upon Microsoft's SCSF application block.The SCSF is a wrapper over WinForms. When I make a call to any of the Java webservice,for the first time its very slow (takes 600-800ms) but after the first call, if I make any subsequent calls to the same web service then it is preety fast.

The same thing when I did with a Java client, the results are preety good irrespective of the first or any subsequent calls.

Do anybody have any pointers for this wierdness? How can I avoid the latency in the first call for the .NET client. I used ethereal to look at the packets and noticed that in the .NET - Java combination there is more no. of UDP packets as compared to Java-Java combination. But I am unable to figure it out with this the cause of the problem.

Regards,
Shashikant.
Jun 12 '07 #1
1 2805
nateraaaa
663 Expert 512MB
Hi,

I am consuming a java web service in .NET C# smart client, which is based upon Microsoft's SCSF application block.The SCSF is a wrapper over WinForms. When I make a call to any of the Java webservice,for the first time its very slow (takes 600-800ms) but after the first call, if I make any subsequent calls to the same web service then it is preety fast.

The same thing when I did with a Java client, the results are preety good irrespective of the first or any subsequent calls.

Do anybody have any pointers for this wierdness? How can I avoid the latency in the first call for the .NET client. I used ethereal to look at the packets and noticed that in the .NET - Java combination there is more no. of UDP packets as compared to Java-Java combination. But I am unable to figure it out with this the cause of the problem.

Regards,
Shashikant.
One of the cons of web services is that the 1st time they are used they can be slow. However the benefits of web services far outweigh the negatives.

Nathan
Jun 13 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

8 posts views Thread by Beatrice Rutger | last post: by
3 posts views Thread by Torben Laursen | last post: by
2 posts views Thread by =?Utf-8?B?SmltIE93ZW4=?= | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.