I know there are a few posts here about how to update an application. I believe WebStart was mentioned several times. What is webstart? I've been trying (rather unsuccessfully) to download an update .jar file from my website using Streams (I used bufferedReader to download the stream using readLine() and bufferedWriter to write those lines in a new file on my harddrive using write(string)). I tried to tinker with JarInputStream and JarOutputStream but I can't figure out how to get a JarInputStream to acquire the inputStream from the website connection (btw: I use a URL to connect to the website).
Could anyone explain the WebStart? Or if anyone knows how to get a .jar file from a webpage using Streams that would be awsome!
Using webstart is much easier than that, and DOES NOT require you to fiddle with the JarInputStream etc (I made a mistake the first time I tried to make a JAR - I saw the java.* libraries and thought I had to make them programmatically).
You may really need the jarinputstreams, depending on what you are trying to do, but I suspect you probably don't.
Have a look at the articles page on http://grexengine.com/sections/externalgames
- there's an article specifically on getting your game to use webstart that's very good and easy to follow. If you have specific questions after reading it, ask away (and if appropriate I'll nudge Kev to update the article to answer them