tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vamsee Lakamsani <>
Subject @Injected field of a @Injected field is null
Date Wed, 04 Jun 2014 01:49:44 GMT
I put together a small sample app here:

MyResource is a JAX-RS service into MyService is @Injected
MyDao is in-turn @Injected into MyService. When I run it (in TomEE,  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). 
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message