I'm migrating an application from Glassfish to Wildfly 10.
In my current web.xml I have a resource-ref to a DataSource. However I can't find out how to do the java:comp/env to "real" JNDI mapping in Wildfly. I looked in the schema for jboss-web.xml but I couldn't see anything to looked relevant.
Any hints on how to do this is greatly appreciated.