727374757677787980
// Add the echo socket servlet to the /echo path map context.addServlet(new ServletHolder(EchoServlet.class), "/echo"); server.start(); context.dumpStdErr(); server.join(); } }
606162636465666768
// Add your websockets to the container wsContainer.addEndpoint(EchoJsrSocket.class); server.start(); context.dumpStdErr(); server.join(); } }