I have used both "java:/myDB" (which is JBoss-specific) and "java:comp/env/jdbc/myDataSource" (which is generic and what I have seen in in apps written for other app servers).
I am struggling to set up a DB source.
Where should the file jboss-web.xml be located?
pmohanan, you should have started a new topic.
But to answer your question, the jboss-web.xml file goes in the WEB-INF directory.