Pushed to Sprint 8 because of ongoing Spec. debate
Note that although implementation has been completed, this issue is still dependent on changes to GlassFish to make this work in the case where the resources are in java:comp. GLASSFISH-19452 has been logged to capture this dependency.
Reopen it for tracking when the dependency of GLASSFISH-19452 is resolved.
Added dependency on GLASSFISH-19558
Testcases were added to the appserver SQE workspace.