Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Performance of Applets  RSS feed

 
Rajesh Hegde
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I have huge applet that takes about 15 jars along with it during download. We need to improve the performance by reducing the download time. Can any one suggest means for faster download of applets ?
Rajesh
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rajesh,
Ummm... why are multiple jars downloading? Why not put everything in one jar file? That would speed up the initial transfer by only making 1 request (as opposed to 15+ seperate requests you mentioned).
You may have a completely valid reason for this... if so, just ignore this post...
HTH,
-Nate
 
Mark Herschberg
Sheriff
Posts: 6037
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are a number of solutions out there to cache downloaded jars (check out GPL'ed PVCj http://www.granitepeaks.com:8011/pvcj/). I think recent versions of Java and/or web browsers may have even built in this functionality.

--Mark
hershey@vaultus.com
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!