In my small web application, there is a web management side that hosts a small number of long-lived user sessions. I have configured a replicated cluster session cache for these servlets with a 24-hour session timeout, and it works well.
There are also two small servlets that get a large number of small POSTs from a very large number of different clients. I want to completely disable server side sessions for these servlets to conserve memory, and keep the cluster replication traffic down.
Is it possible to completely disable server session caching on a per-servlet basis? From the documentation, I believe I could create a new WAR, but I would really prefer to keep things as simple as I can. I would also prefer not to create a different subdomain if I can avoid it.