Advantages of the Velocity template engine


Web tier: servlets, JSP, Web frameworks: Advantages of the Velocity template engine

  1. Hi, I can't understand what are advantages of the Velocity template engine? I've read their case study (JSP vs. VTL) but there wasn't any big advantages. Thanks.

    Threaded Messages (2)

  2. plain html[ Go to top ]

    One clear advantage is that you can develop your page in a html oriented way. You can create plain html and put velocity statements in for the dynamic parts which makes your pages viewable in any browser. JSP development tends more to custom tags which always need to be rendered in an application server.
  3. yes[ Go to top ]

    Just like what above said,velocity forces you to detach the logic from the web layer.And also velocity is always uesed as code generator on many occasions.