1 Reply Latest reply on Jul 15, 2011 10:51 PM by mikefinn

    JBoss Connection Pool

    komyg

      Hi, I am deveoloping a Web Service solution that is hosted inside a JBoss 4.2.3 sever and connects to a JMS queue that is hosted on another server.

       

      So far I am creating a new connection to the JMS queue each time the web service is called, this means that, whenever a new session is opened on  a new connection to the JMS queue is created.

       

      I am aware that this implementation is very inneficient and I am thinking about creating a connection pool so that I don't have to create a new connection everytime the web service receives a new request.

       

      Does JBoss have any modules that could help me? If not, is there a third party API that implements this?

       

      Thanks,

      Felipe