produce json and deploy and undeploy for tomcat