BatchCounter counters = new BatchCounter();
counters.increment("Counter A");
counters.increment("Counter B");
counters.increment("Counter C");
counters.commit();
_logger.info("Counters A, B and C incremented");
try {
resp.getWriter().print("4 counters incremented");