Hello!
I'm developing a simple application that will be using both REST and websockets. I am also using CDI which works perfectly fine with REST endpoints. But when I try to inject beans into websocket endpoints I get a Null Pointer Exception.
Does anyone know what could the problem be?