Java Database Application with Apache Velocity