RestAPI Struts MVC Postgresql Connection