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
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