ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » connections and sessions on Web applications

Post new topic  Reply to topic
 connections and sessions on Web applications « View previous topic :: View next topic » 
Author Message
mac1929
PostPosted: Fri Mar 14, 2003 12:47 am    Post subject: connections and sessions on Web applications Reply with quote

Novice

Joined: 15 Oct 2002
Posts: 10

We have build a Web application that uses jms over mq. Our application is using right now an only connection for the whole application an one session for each thread.
I have read that creating connections is resource hungry and there should be only one connection per client.
The only problem with this solution is that is the connection falis for some reason, the application does not recover.

In your opinion, witch solution is best. One connection/app and one session/thread or one connection/thread and let server's connection pooling do its work??

thanks!
Back to top
View user's profile Send private message
dtauzell
PostPosted: Mon Apr 21, 2003 10:11 am    Post subject: Reply with quote

Apprentice

Joined: 23 May 2002
Posts: 37

We have a small wrapper around all of our JMS calls that detects errors and reconnects. That said, I'm thinking of creating some sort of pool object to manage all of this.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » connections and sessions on Web applications
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.