API / Apache Velocity Interview questions
What is Apache Velocity?
Apache Velocity is a Java-based template engine from the Apache Software Foundation. It lets you separate presentation markup from application logic by writing templates in Velocity Template Language (VTL), which reference data placed into a context object by your Java code.
Rather than embedding Java directly in a page like classic JSP scriptlets, a Velocity template only contains references ($name) and a small set of directives (#if, #foreach, #set) to control output.
It's commonly used to generate HTML pages, emails, source code, configuration files, and SQL, and it can run standalone or embedded inside any Java application, not just web apps.
More Related questions...