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 » Online WEB application design question

Post new topic  Reply to topic
 Online WEB application design question « View previous topic :: View next topic » 
Author Message
yaakovd
PostPosted: Mon May 26, 2003 12:47 am    Post subject: Online WEB application design question Reply with quote

Partisan

Joined: 20 Jan 2003
Posts: 319
Location: Israel

Hi all

We need to create some online WEB application by following scenario:

Technology and components: IBM MQSeries, J2EE/JMS, WebLogic 7.2

WEB application (user) creates request.
Request is sent to MQSeries using JMS.
External application takes the message and creates response.
External application sends response to MQ.
Response should reach user session.
----------------------------------------------------------------------
One option is synchronization by correlation ID + session ID - it mean to create some application level for correlation between messages and sessions.
But we are looking for real(automatic) synchronization by JMS.

The major point - it should be online WEB application with big number of concurrent users.

We will appreciate any help or suggestions.
_________________
Best regards.
Yaakov
SWG, IBM Commerce, Israel
Back to top
View user's profile Send private message Send e-mail
skn
PostPosted: Tue Jun 03, 2003 1:37 pm    Post subject: Reply with quote

Centurion

Joined: 21 May 2003
Posts: 112
Location: Dallas

what do you mean by real synchronization??
we are implementing the same thing with websphere but sticking to mssg ID and corr ID.whats the problem with that approach?
Back to top
View user's profile Send private message
zpat
PostPosted: Wed Jun 04, 2003 1:05 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

This is nothing unusual surely?

You just ensure the web server application sets (or records the generated) message id. It then issues a MQGET with WAIT for that CORRELID on the reply queue.

The back end application moves the msgid to the correl id of the reply message and the reply is picked up by the web server application. It should reply to the replytoqueue name in the message.

This can be scaled up as required. You need to choose a reasonable WAIT time to give up on the back-end if no response is produced and all messages should have EXPIRY set on them so that "orphaned" messages get removed.
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 » Online WEB application design question
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.