ALlow developers to create their own instances of websocket endpoints and deploy them (singletons)
Also, as Rossen points out, the ServletContext in Servlet 3.0 allows registration of Servlets and Filters by instance and by type.
Note: the 'default' mode for server websockets is to use a new instance per client connection. So will the singleton model be ok for the deploy-by-instance case ?
eg seems to be ok with add getEndpointInstance() to ServerEndpointConfig.Configurator which will address this.
v014 allows the developer to control the instance creation of endpoints using the
ServerEndpointConfig.Configurator.getEndpointInstance(Class<T> endpointClass) call.