1. configure in j2ee
2. set up freemarker