Amazon S3 and Hibernate integrated in a Tomcat7 web application