• 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:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

How to start JVM *after* a page has loaded?

 
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My web site has two main pages: a welcome page and an applet page.

To make the applet page load as quickly as possible, I included a small applet in the welcome page with the sole purpose of getting the jvm started, but that results in the welcome page taking too long to load...

Does anyone know of a reliable way to get the jvm to load *after* the page has loaded? I know, with javascript, I could use the onload event to write some applet code into the html, but I haven't had good results with this approach.

I've also tried using the onload event to popup another window that contains an applet but must popup blockers block it.

Anyone had any success in this area or have any ideas?

Cheers,
James
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What version of JVM you are running?

Based on my expierence, applets do not take that long time to start up. Not to the extent where you need to run a dummy applet to start up the JVM...

You're using the <applet> or <object> tag I assume?
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!