File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JNLP and Web Start and the fly likes Application Performance very slow when Running as Web Start App Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Application Performance very slow when Running as Web Start App" Watch "Application Performance very slow when Running as Web Start App" New topic
Author

Application Performance very slow when Running as Web Start App

Pete Wellens
Greenhorn

Joined: Jul 29, 2011
Posts: 2

We have had a very perplexing performance issue crop up with Java Web Start. When our application is run in the Netbeans IDE development environment, all the operations run at the normal, reasonable speed that we have come to expect from past experience developing this particular Web Start Application - both in the development environment and as installed through the Web Start deployment mechanism.

For the latest builds however, when the application is packaged and deployed with Web Start, it's performance is vastly degraded compared with how it runs in the Netbeans IDE - it runs approx. 20+ times slower! This includes ALL operations - this does NOT appear to be a loading/initialization problem.

We have just began trying to investigate the problem through run-time profiling, etc., but have not found the answer yet. If anyone has any insight into this problem - maybe, hopefully, have directly experienced the same problem - or has advise on the best strategy for diagnosing it, we would be very grateful.

Thanks.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10535
    
    9

This could be something as simple as network latency. JWS would indicate a distributed system, which can very well developed on a local environment (both client+server) Is that the case? Are your client/server on different machines? Have you profiled for network latency?

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Application Performance very slow when Running as Web Start App