This question is related to an other post of mine http://scn.sap.com/thread/3777605
I have it working now(somehow) i implemented a servlet filter with a mapping to my restendpoints and inside the filter class cdi and @persistencecontext is working absolutly fine. I can safe thoss in static attributes and get the in my restendpoint class. The question is why is it working in the filterclass? And why does injection in the Restendpoint not work at all? what is the difference?
Could anybode elaborate? I really would like to understand what exactly is happening..
Regards