• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Web Start Basic Doubts

 
Micheal John
Ranch Hand
Posts: 344
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI all,

This question is regd Java Web Start. As far as I understand, java web start is used to download the program/application to the client from server thru' HTTP. Once the application is downloaded it will executed from the local disk.

My Question is, now in the server side the appplication has undergone some changes, how JWS will pick up the latest copy? If the client is not having internet/intranet access, then the JWS will try to get the updated copy or it will execute from the local disk?
 
Jared Cope
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Originally posted by Micheal John:

My Question is, now in the server side the appplication has undergone some changes, how JWS will pick up the latest copy? If the client is not having internet/intranet access, then the JWS will try to get the updated copy or it will execute from the local disk?


If the client has working internet access, it will just happen like magic. The update will transfer and the client will run that code.

If there is no internet access on the client machine, it depends on what has been configured in the JNLP file for the application. If offline is allowed, then the client will run the code that it currently has. If offline is not allowed, then the application will fail to start altogether because it MUST determine if an update has occurred.

We run with offline not allowed. So if Apache goes down or the clients lose internet it is a big deal and needs immediate attention. But we prefer to operate this way because it means that everyone will always be running the same release of the application. No version related issues can ever occur in our environment.

Cheers, Jared.
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the client has working internet access, it will just happen like magic. The update will transfer and the client will run that code.

I wouldn't necessarily call it magic. What happens is the required JAR files get checked to see if they are newer than what the client has on their local machine. If the server files are newer, they are downloaded to the client.
 
Prashanth Bhanu
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi friends,

Can you explain me bit if possible with an example.how does the webstart downloads the JAR file from the remote server.Should my Jar file be in Webserver under WEB-INF folder.
 
Prashanth Bhanu
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi friends,

Can you explain me this bit more if possible with an example.how does the webstart downloads the JAR file from the remote server.Should my Jar file be in Webserver under WEB-INF folder.
I'm keen to know where exactly my Jar file(client programs bundeled) sits in the server??.Hows does web start picks it from there?

Thanks in adavnce

Prasahnth
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic