komyg 0 Light Poster

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 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, I mean is there a JBoss implementation of a connection pool that can be used with a JMS queue?

If not, is there a third party API that implements this?

Thanks,
Komyg

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.