Sample of an Rest API using eclipse and tomcat