This content has been marked as final.
Show 1 reply
-
1. Re: metadata-complete="true" web.xml disables @EJB injection
sfcoy Nov 5, 2013 3:48 AM (in response to pmm)I believe that the behaviour you are seeing is correct.
Setting metadata-complete=true means that you are claiming that all configuration is done in the web.xml. This includes the specification of injection targets that you would otherwise have annotated with @Resource or @EJB.
Remember that these map to env-ref, resource-ref, ejb-ref, etc elements.