jardiff

Do you have any advice / warnings / gotchas about jardiff? It seems almost no-one is using it, there’s very very little info on the web, and Sun haven’t pushed it out much…

But for the next version of JGF I’m thinking of automatically using it for all downloads, which would make all the games load faster. It does of course require a customised webserver (or to be running from J2EE and use Sun’s provided servlet) which I think is why 99% of people aren’t using it, despite the benefits…yes?

That’s right, the customized webserver bit is the stumbling block here. Were someone to write a php module…

Cas :slight_smile:

[quote]That’s right, the customized webserver bit is the stumbling block here. Were someone to write a php module…
[/quote]
Yeah, that’s sort-of what I’m going to do - I believe I can write a java jardiff server to slot into the grexengine in about half an hour. But I wanted to check it was worth the effort before I started :D.

Found this in the sun java forums:

[quote]There is already a servlet available to do this in the webstart developer’s kit. This servlet reads the jar request from WebStart and compares the jar version requested against the jar version on the client (passed in query string). If the server has both versions of the jar, it will automatically create a jardiff instead of a jar to send back to the client. After being created, the serlvet puts the jardiff in the temp directory and reuses it on the next request with the same from/to version request.

Here is where you’ll find the developers kit:
http://java.sun.com/products/javawebstart/download-jnlp.html
[/quote]

cough cough

[quote]It does of course require a customised webserver (or to be running from J2EE and use Sun’s provided servlet)
[/quote]
:wink:

Hum :-[ sorry 'bout that ;D