Re: [Ldsoss] Automatic Update in Java
On 9/4/07, Jay Askren [EMAIL PROTECTED] wrote: I'm working on an open source project in which I want to make updating the application very easy. For instance Firefox automatically updates itself when there is an update. MLS from the church does the same thing. I want to do this with my own Java application. Does anyone know of an open source, or at least inexpensive way to do this? Of course, I could make it a web app, and it would be a non issue, but this app is more appropriately a desktop app. Jay Java WebStart seems to be the method of choice from my googling. I am not sure how well it fits your application constraints, but it may be worth looking into. slide ___ Ldsoss mailing list Ldsoss@lists.ldsoss.org http://lists.ldsoss.org/mailman/listinfo/ldsoss
Re: [Ldsoss] Automatic Update in Java
I am planning on using Java Web Start as one way to distribute the app. I still need an update solution outside of that though as I would like to be able to distribute cd's in addition to providing a link. I don't believe I can use Java Web Start from a cd. On 9/4/07, Slide [EMAIL PROTECTED] wrote: On 9/4/07, Jay Askren [EMAIL PROTECTED] wrote: I'm working on an open source project in which I want to make updating the application very easy. For instance Firefox automatically updates itself when there is an update. MLS from the church does the same thing. I want to do this with my own Java application. Does anyone know of an open source, or at least inexpensive way to do this? Of course, I could make it a web app, and it would be a non issue, but this app is more appropriately a desktop app. Jay Java WebStart seems to be the method of choice from my googling. I am not sure how well it fits your application constraints, but it may be worth looking into. slide ___ Ldsoss mailing list Ldsoss@lists.ldsoss.org http://lists.ldsoss.org/mailman/listinfo/ldsoss ___ Ldsoss mailing list Ldsoss@lists.ldsoss.org http://lists.ldsoss.org/mailman/listinfo/ldsoss
Re: [Ldsoss] Automatic Update in Java
Hi Jay, You can actually put the application on a CD and bootstrap from there. and then for subsequent updates use the normal Java Web Start features. See http://java.sun.com/javase/6/docs/technotes/tools/share/javaws.html for command line options to web start that allow you to import an application in the cache from a CD. Which you can then use to start. If you need more guidance, don't hesitate to drop me an email. Manfred Riem [EMAIL PROTECTED] http://www.manorrock.org/ Founding Java Champion -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jay Askren Sent: Tuesday, September 04, 2007 9:09 AM To: LDS Open Source Software Subject: Re: [Ldsoss] Automatic Update in Java I am planning on using Java Web Start as one way to distribute the app. I still need an update solution outside of that though as I would like to be able to distribute cd's in addition to providing a link. I don't believe I can use Java Web Start from a cd. On 9/4/07, Slide [EMAIL PROTECTED] wrote: On 9/4/07, Jay Askren [EMAIL PROTECTED] wrote: I'm working on an open source project in which I want to make updating the application very easy. For instance Firefox automatically updates itself when there is an update. MLS from the church does the same thing. I want to do this with my own Java application. Does anyone know of an open source, or at least inexpensive way to do this? Of course, I could make it a web app, and it would be a non issue, but this app is more appropriately a desktop app. Jay Java WebStart seems to be the method of choice from my googling. I am not sure how well it fits your application constraints, but it may be worth looking into. slide ___ Ldsoss mailing list Ldsoss@lists.ldsoss.org http://lists.ldsoss.org/mailman/listinfo/ldsoss ___ Ldsoss mailing list Ldsoss@lists.ldsoss.org http://lists.ldsoss.org/mailman/listinfo/ldsoss ___ Ldsoss mailing list Ldsoss@lists.ldsoss.org http://lists.ldsoss.org/mailman/listinfo/ldsoss
Re: [Ldsoss] Automatic Update in Java
I've also thought about using the Eclipse RCP. Eclipse RCP can be nice but it can be a real pain at times too. Writing my own doesn't sound bad at all. Thanks. Jay On 9/4/07, Shawn Willden [EMAIL PROTECTED] wrote: On Tuesday 04 September 2007 08:30:09 am Jay Askren wrote: I'm working on an open source project in which I want to make updating the application very easy. For instance Firefox automatically updates itself when there is an update. MLS from the church does the same thing. I want to do this with my own Java application. Does anyone know of an open source, or at least inexpensive way to do this? Of course, I could make it a web app, and it would be a non issue, but this app is more appropriately a desktop app. If you build your application on the Eclipse RCP (Rich Client Platform), you can use the automatic update infrastructure built into Eclipse. Slide already mentioned WebStart, which is another good approach, and one that's simpler to set up (though it doesn't give you all of the other features of RCP). Finally, I've actually had to write my own automatic update system, and it really wasn't difficult at all. Just break your app up into multiple jar files and then write some code to check a server during startup to see if new versions of any of the jars are available. If so, have your code download and install replacement jars (optionally checking digital signatures to make sure that nothing funny is going on). Add a little dialog window to show the user that the download is happening and telling them to restart the app and you're done. Shawn. ___ Ldsoss mailing list Ldsoss@lists.ldsoss.org http://lists.ldsoss.org/mailman/listinfo/ldsoss
Re: [Ldsoss] Automatic Update in Java
Thanks Manfred. That's good to hear. On 9/4/07, Manfred Riem [EMAIL PROTECTED] wrote: Hi Jay, You can actually put the application on a CD and bootstrap from there. and then for subsequent updates use the normal Java Web Start features. See http://java.sun.com/javase/6/docs/technotes/tools/share/javaws.html for command line options to web start that allow you to import an application in the cache from a CD. Which you can then use to start. If you need more guidance, don't hesitate to drop me an email. Manfred Riem [EMAIL PROTECTED] http://www.manorrock.org/ Founding Java Champion -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jay Askren Sent: Tuesday, September 04, 2007 9:09 AM To: LDS Open Source Software Subject: Re: [Ldsoss] Automatic Update in Java I am planning on using Java Web Start as one way to distribute the app. I still need an update solution outside of that though as I would like to be able to distribute cd's in addition to providing a link. I don't believe I can use Java Web Start from a cd. On 9/4/07, Slide [EMAIL PROTECTED] wrote: On 9/4/07, Jay Askren [EMAIL PROTECTED] wrote: I'm working on an open source project in which I want to make updating the application very easy. For instance Firefox automatically updates itself when there is an update. MLS from the church does the same thing. I want to do this with my own Java application. Does anyone know of an open source, or at least inexpensive way to do this? Of course, I could make it a web app, and it would be a non issue, but this app is more appropriately a desktop app. Jay Java WebStart seems to be the method of choice from my googling. I am not sure how well it fits your application constraints, but it may be worth looking into. slide ___ Ldsoss mailing list Ldsoss@lists.ldsoss.org http://lists.ldsoss.org/mailman/listinfo/ldsoss ___ Ldsoss mailing list Ldsoss@lists.ldsoss.org http://lists.ldsoss.org/mailman/listinfo/ldsoss ___ Ldsoss mailing list Ldsoss@lists.ldsoss.org http://lists.ldsoss.org/mailman/listinfo/ldsoss ___ Ldsoss mailing list Ldsoss@lists.ldsoss.org http://lists.ldsoss.org/mailman/listinfo/ldsoss