Quantcast
Viewing all articles
Browse latest Browse all 3285

Tomcat 7 - Websockets & CDI

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?


Viewing all articles
Browse latest Browse all 3285

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>