Java – please recommend the view technology used in spring MVC 3 applications
I am looking for which view technology is considered the best method of spring MVC 3.0. It is flexible, maintainable and allows a variety of rendering technologies, such as HTML, PDF and so on
We are looking to develop our next web application using spring MVC 3.0, and have determined the persistence of hibernate, but we are still trying to determine which view technology is the most appropriate
We need to support PDF reports, but we are most likely to use iText to write these reports
Are there any maven archtypes that can set up a complete persistence and view technology recommendation application?
The spring sample uses a series of different technologies from JSTL to Apache tiles. We only used JSP in the past because we migrated to in 2003 Net and now back to Java
Solution
If you use the latest version, there is really no problem using JSP Of course you can choose FreeMarker, velocity and other cool viewers, but if your whole team is used to dealing with JSP, you need to consider the project deadline and all learning curves when adopting new technologies If it makes sense, of course, there is no harm in learning another new thing
For my part, I use JSP and SiteMesh as my templates I've used the JSP / struts tiles combination for a long time, but I find the template too intrusive. SiteMesh seems more seamless to me because it won't confuse my actual JSP file with some tile specific custom tags