This is an example of code using Servlet, MySql, Hibernate