Spark and Freemarker together