开发者

Annotations in web applications

I want to know why Annotations are preferred over XML in Struts2 A开发者_Go百科pplications?


It's easier to refactor code with annotations than refactor code and then find out you broke your application because you forgot to change the XML file. This is more of a general answer than just for Struts 2, though.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜