开发者

Updater in a java program

开发者 https://www.devze.com 2023-02-11 13:15 出处:网络
How do I create an updater for some files in a java program? Tha开发者_运维技巧t is, I have: program.jar -> my 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

精彩评论

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