jbossas/jboss-as — comment on commit 62b9effd6d7ecb70b4102fb7079e75ee48297edb
File: ejb3/src/main/java/org/jboss/as/ejb3/component/EJBComponentDescription.java line 220
By jaikiran:

Shouldn't this also apply to other components like web component? For example, the java:comp/env should be available for web components in the absence of any EJBs and in the absence of any explicit java:comp/env bindings. Should we be moving this logic to some other place where this will apply to all EE components?