开发者

Updater in a java program

How do I create an updater for some files in a java program?

Tha开发者_运维技巧t is, I have:

program.jar -> my java program
dir_xml / -> list of xml files that can be updated


Check out Java Web Start.. It essentially does what Swaranga Sarma suggests above.

It takes care of deploying your program and keeping your program files updated. It even ensures the client's java version is correct.


Code a client making a GET request to the server. GET the http response from the server and GET the file.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜