Freemarker servlet for templates to work in OSGi