Last year I’ve been gathering what are the pain points with our current JNDI and @Resource injection related code, mostly the complaints I’ve noted (meetings, user forum, mail list, etc.) are:

Also, new functionality is needed/desired, of most relevance:
With all above in mind, I started reworking Naming/EE for WFLY 9, and such work is ready to be presented and reviewed.

I created a Wiki page to document the design and APIs, which should later evolve as the definitive guide for WildFly subsystem developers wrt JNDI and @Resource. Check it out at https://docs.jboss.org/author/display/WFLY9/WildFly+9+JNDI+Implementation 

A fully working PoC, which passes our testsuites, is already available at https://github.com/emmartins/wildfly/tree/wfly9-naming-rework-v3

Possible further design/impl enhancements
—E

PS: the shared PoC is not completed wrt new API usage, it just includes show cases for each feature.