Let me clarify.
I would like to keep the logical name that the WAR is currently mapped to (the value "java:comp/env/jdbc/myds") in the WAR. That name is defined in as a resource-ref in the web.xml.
In a Java EE server, the server itself is responsible for taking this logical name and mapping it to a global JNDI location. Is there an equivalent logical-to-physical mapping for Fuse ESB that would allow me to keep the "java:comp" address in the WAR?
Edited by: fiddlerpianist on Nov 7, 2012 11:36 PM
No, I don't think so.
You need publish your DataSource as OSGi service yourself then you can use OSGi style jndi name to refer it.