• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Caching of applets  RSS feed

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using swing applets. browser is IE. This applet takes much time to get loaded. Is there anyway, so that I can cache the applet when it is loaded for the first time and this cached applet is loaded when I request for the applet next time?.If it is possible,can IE use this cached applet for a particular period of time.(for eg. one year).If yes, how can I set it?
I am loading this applet from the html outputted from a servlet.
So, is there any method in the response object or in any other object provided by the servlet, so that I can cache the applet for later use.
My aim is to make the load time for applets less.
Please help ..it is urgent..
Thanks
Elizabeth.
 
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Normally, you are at the whim of the browser when it comes to cache management.
You might want to take a look at Sun Java Plug-in/Java Web Start. I believe that gives you some control over the caching of your class files and related resources.
David
------------------
David Kane
david_kane@houseofyin.com
Author of Software Architecture: Organizational Principles and Patterns
http://www.vraps.com
http://www.houseofyin.com
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!