开发者

Class Path & Resource files

If I have a resource file (wsdl file) in the class path, should I recompile my java app if I changed something in this wsdl file (the target address location)? or I can cha开发者_开发技巧nge the wsdl file without recompiling?


If you're just using it as a text resource, you do not have to recompile it.

You will want to recompile/repackage it if:

  • You're using the WSDL to generate some of your java classes (common with API frameworks)
  • You're packaging the classes/resources into an archive (jar, war)
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜