File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Applets and the fly likes How to start JVM *after* a page has loaded? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "How to start JVM *after* a page has loaded?" Watch "How to start JVM *after* a page has loaded?" New topic
Author

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

James Hodgkiss
Ranch Hand

Joined: Jan 22, 2004
Posts: 401
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
Bling Chen
Greenhorn

Joined: Oct 11, 2007
Posts: 6
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to start JVM *after* a page has loaded?
 
Similar Threads
popup window
Cannot Load Applet
Javascript/Applet problem in certain versions of Safari
To call and load javascript in struts jsp.
Conditional PopUp Window