We have a java application bundled as an applet or as webstart. The client java plugin caches the jar files on the client machine and downloads a new version if there is one.

Is it possible to deliver this jar files using a CDN? What are the issues involved? Which CDNs would work for jar delivery? Is this different from static content delivery like images or video?

link|improve this question

50% accept rate
There are issues with java plugin cache. See stackoverflow.com/questions/1702030/… – tuler Nov 9 '09 at 16:54
feedback

2 Answers

I think the jar file delivery is them same kind as the video/image stuff. In your java app you can specify what to look up for new files and what method to use, i would recommend something like MD5 hashing of the file just to be sure that your content is valid.

There are many good solutions I would go for the Amazon one:

http://aws.amazon.com/cloudfront/

link|improve this answer
The jar download is not managed by my application. It's managed by the java plugin itself. java.sun.com/j2se/1.5.0/docs/guide/plugin/developer_guide/… – tuler Oct 22 '09 at 22:48
feedback

Typically a CDN is a great way to deliver static content, especially if that content is large. The following article has some great information on using a CDN that may answer some of your other questions:

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.