finish reserve function

start to use tomcat because there are some problems
with glassfish and the jar file