3 Replies Latest reply on Apr 6, 2012 4:06 PM by Davide Consonni

    JDBC as a deployment or as a module?

    Humberto Ferreira da Luz Jr. Novice

      I was pretty sure that the recommended way of adding a JDBC driver to JBoss AS 7 was as a module. I guess I read that some months ago in the JBoss AS 7 reference documentation and I got the following passage from the book JBoss AS 7 Configuration, Deployment and Administration:


      [page 54] "In the new modular server architecture, you have more than one option to install your JDBC driver. The first and recommended approach consists of installing the driver as a module."


      But I went back to the reference documentation:


      "The recommended way to install a JDBC driver into the application server is to simply deploy it as a regular JAR deployment.  The reason for this is that when you run your application server in domain mode, deployments are automatically propagated to all servers to which the deployment applies; thus distribution of the driver JAR is one less thing for administrators to worry about."


      Did I misunderstand something?


      Thanks in advance.