title: Generate PDF files using iText and apache velocity template(.vm)
body: <p>What is the general workflow to generate a PDF using iText and an Apache Velocity template file (.vm) in Java?</p>
  
  <p>I am interested in knowing steps like: parse template file, put Java object in context and steps to be performed to generate pdf etc.</p>
  
  <p>I know this is a very basic question. But I am not able to find even a single example of this type on the web. I found <a href="https://github.com/opensagres/xdocreport" rel="nofollow">XDocReport</a>, but I am interested to know other alternatives as well.</p>
  
  <p>Please help me with some sample project link or at least the steps to get started.</p>