Please consider that I have a stateless EBJ that accesses a mysql database via:
Then I have a Servlet in a different project (Dynamic Web)
then in my WEB-INF/web.xml
and finally I have a mysql-ds.xml in my jboss/deploy directory.
This works, however, it makes no sense to me. I would much rather have WEB-INF stuff defined at the EAR level as I can't think of a reason why I'd want to define something that the ejbModule needs in another possibly unrelated project. I am a java newbie, so I don't know how to make those connections outside of the WEB-INF, which I discovered by googleing.