I am building a RESTFul web application using SpringMVC.For the html views, I intend to use Google开发者_如何学C Closure templates.
Need suggestions on the approach, in case any one in the forum has had this architecture OR even has used google closure templates with a java based web application.
Regards,
AbhishekDI have just released an initial version of my integration library for Closure Templates and Spring MVC: https://github.com/tomakehurst/spring-closure-templates
See the wiki for some brief instructions on how to include in your project, and the example app in the source project for a complete example.
In answer to the question below about localisation support, I can quite easily add this if it's going to be of use to anyone. Please message me on GitHub if you have any requests such as this.
While i wait for answers/suggestions, thought of proceeding with this approach -
For rendering html output use the Closure Templates as Spring View Resolver components. (Similar to FreeMarkerViewResolver)
精彩评论