Re: Develop Update Server in Java
On Oct 29, 6:01 am, Eric Sosman <Eric.Sos...@sun.com> wrote:
Simon wrote:
..What is it about your situation that makes Web Start
inappropriate?
....
Regarding WebStart, there are four issues I see:
- Our application comes bundled with a JRE which also has to be updated=
..
I cannot bundle a download version with a JRE with WebStart, because
WebStart requires the JRE to be installed.
You can, however, specify what Java version(s) the application
requires, and tell the user to install it if it's not already present.
Sun supplies the deployJava.js - which will work even
if no Java is currently installed. It will check for
a suitable JRE and if not found, either guide the user
through installing it (Windows), or drop them onto the
Sun download page (Linux).
See
<http://java.sun.com/javase/6/docs/technotes/guides/jweb/
deployment_advice.html>
for further details.
- Part of the application requires a license key to authenticate the
download.
I don't know how to do this, but I'd bet its do-able.
See the ExtensionInstallerService. Demo at
<http://pscode.org/jws/api.html#eis>
- The software must also be able to display a list of "Available
Extensions" among which the user can choose.
Maybe I'm missing something, but that doesn't look like a prob=
lem.
See the DownloadService. Crude demo at
<http://pscode.org/jws/api.html#ds>.
--
Andrew T.
pscode.org