A small url shortener based on Spring MVC and Hibernate