I put together a small sample app here: https://github.com/lakamsani/cdi-nested

MyResource is a JAX-RS service into MyService is @Injected
MyDao is in-turn @Injected into MyService. When I run it (in TomEE 1.6.0.1),  
MyDao is null inside the MyService instance injected to MyResource.  What do I 
need to do to make it work or is there another way of doing this (short of 
explicitly instantiating objects). 

Reply via email to