title: Is it possible to generate a Java code by defining a template in Apache Velocity?
body: <p>I need to generate a Java file using Velocity Template concept. Could you please guide through this Please. </p>
  
  <p>The java code should contains some methods, imports and variables... </p>
  
  <p>Thanks,
  Easwar</p>