Make tomcat not create session when HttpReqest comes in, so we have a sessionless service and save many memory resource by this.
Steps:
1,clone or download this project.
2,expert a jar package with your IDE.
3,copy the jar to ${tomcat}/lib.
4,edit ${tomcat}/conf/context.xml,modify <Manager className="com.nosession.SessionManager" />
just like the context.xml in our project
5,access your web service,you will find that tomcat will not response cookie to browser again.