java 7 only for sockjs