Posted: Mon May 26, 2003 12:47 am Post subject: Online WEB application design question
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
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?
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.
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