Alex Rivera | Logout

JSP vs Velocity what is better?

Asked 2009-03-04T10:45:33.633
35

What is better between JSP and velocity in - Performance - Ease of use - Ease of creating reusable components - Availability of open source 3rd parties - IDE support

Edit
Report

1 Answer

8

Velocity or even better FreeMarker. In JSP you cannot have runtime dispatch for pojo hierarchies and everything is statically typed which is a pain. Moreover if you create many JSP2.0 custom tags (say more than 100-150) then your development-deployment cycle will slow down heavily due to inefficiencies of Jasper to resolve dependencies efficiently.

On the other hand JSP has great tool support.

slow JSP compilation references:

http://www.mailinglistarchive.com/users@tomcat.apache.org/msg10786.html

http://marc.info/?l=tomcat-dev&m=119377083422720&w=2

answered 2009-03-04T10:51:19.347

Your Answer