3 Replies Latest reply on Sep 29, 2016 7:30 AM by mayerw01

    Configure Mongo DB pool connection in JBOSS

    gpjavi

      Good morning,

       

      I need to configure Mongo DB pool connection in JBOSS 7.x.

       

      I have a Web Service published in the jboss, which calls to a java program that create a MongoClient (and more operations). I think that creating a pool managed by JBOSS will increase performance significantly.

       

      I need help to configure pool and some tips of how to use that connection in the java code.

       

      I have find out I should modify my standalone.xml in order to add a datasource and a driver tag.

       

      Thanks in advance!!

       

      Regards,