JBoss Community

JBoss Connection Pool

created by Felipe Armoni in Beginner's Corner - View the full discussion

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

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community