Spark and FreeMarker Template Engine together