• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic