Description Velocity Apache adalah template engine yang berguna untuk meng inject file atau data seperti XML, HTML, SQL, dll Maven <dependency> <groupId> org.apache.velocity </groupId> <artifactId> velocity </artifactId> <version> 1.7 </version> </dependency> <dependency> <groupId> org.apache.velocity </groupId> <artifactId> velocity-tools </artifactId> <version> 2.0 </version> </dependency> Java Class public interface TemplateEngine { String generate (String template , Map<String , Object> params) ; } public class VelocityTemplateEngine implements TemplateEngine{ @Override public String generate (String template , Map<String , Object> params) { try { if (params == null ) params = new HashMap<>() ; RuntimeServices velocityService = RuntimeSingleton. getRuntimeServices () ; Template velocityTempl...