Hi,
I am configuring datasources, I modified the standalone.xml and added a directory inside modules containing ojdbc14.jar and module.xml as specified in some topics here... and it seems to work well but there is some things I can't get...
Here is my module.xml:
<module xmlns="urn:jboss:module:1.0" name="com.oracle.ojdbc14">
<resources>
<resource-root path="ojdbc14.jar"/>
</resources>
<dependencies>
<module name="javax.api"/>
<module name="javax.transaction.api"/>
</dependencies>
</module>
why should I specify the dependencies?
Thanks.
Because the module system works on explicit dependencies (transitively). You don't get anything "automatically" to keep the deps to a minimum. With the exception of what the deployment scanner concludes your application uses.