Main Menu

web start

Started by fireside, July 18, 2008, 03:33:09 AM

Previous topic - Next topic

fireside

I'm somewhat of a java dummy and I am wondering now if it wouldn't be better to start out with a web start program rather than an applet.  Is it easier to do a web start and are there any problems with using it on a freebie web page? 
click here->Fireside 7 Games<-

EgonOlsen

#1
Webstart is a framework to start applications via the web. You don't have to do anything special for web start, you just write a normal Java application. That may make it easier than writing an applet.
Your web server has to send .jnlp-files with the correct content type. This can either be configured in the web server itself, or by using a .htaccess-file (the provider has to support this) or by naming your .jnlp-file .php and let the scripting language set the content type.
If the server doesn't know of jnlp, .htaccess is not possible and php (or any other scripting language) isn't available, then it won't work. But applets will.

fireside

O.K.  Thanks.  From what I've found around on free sites, I think applets are the only thing I will be able to do then.  They let you upload jar files.  I guess I'll just try one out that actually uses html and see what I can do with it.
click here->Fireside 7 Games<-