I have been trying to get our application to work on jboss 7 and everything has been working great thanks to the discussions and online documentation.
However I do have one question. With this new approach of separate module for each piece, we are needed to add explicit dependencies on required modules (apart from a few "core" modules).
I have a jdbc jar which is not JDBC 4 compliant and as per the information available online, I created a separate module for this jar. I had expected that I would have to provide this new module as a dependency in my web application. But that was never needed and the application started up fine.
Why is this JDBC dependency not needed?
You are probably not referencing the implementing classes, just the API (Datasource injection etc)