[size=large]最早接触的开源模板解决方案是freemarker,并用来实现代码的自动生成,后来关注了下阿里巴巴的技术单,发现阿里巴巴用的是Velocity,于是就翻了翻Velocity的资料。
由于模板语言简单易学,就没过深入的研究,仅以下面两篇博客做参考:
http://www.ibm.com/developerworks/cn/java/j-velocity/
http://www.ibm.com/developerworks/cn/java/j-lo-freemarker/index.html
[/size]
由于模板语言简单易学,就没过深入的研究,仅以下面两篇博客做参考:
http://www.ibm.com/developerworks/cn/java/j-velocity/
http://www.ibm.com/developerworks/cn/java/j-lo-freemarker/index.html
[/size]