Author Topic: web start  (Read 3462 times)

Offline fireside

  • double
  • *****
  • Posts: 607
    • View Profile
web start
« on: July 18, 2008, 03:33:09 am »
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<-

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: web start
« Reply #1 on: July 18, 2008, 02:18:34 pm »
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.
« Last Edit: July 18, 2008, 02:36:37 pm by EgonOlsen »

Offline fireside

  • double
  • *****
  • Posts: 607
    • View Profile
Re: web start
« Reply #2 on: July 18, 2008, 08:00:42 pm »
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<-