This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes what is best way of acheiving request response architecture using jms Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "what is best way of acheiving request response architecture using jms " Watch "what is best way of acheiving request response architecture using jms " New topic
Author

what is best way of acheiving request response architecture using jms

rahul batra
Greenhorn

Joined: Nov 16, 2005
Posts: 10
hello all ,
can anyone please tell me whats the best way to achieve request response format between two application.

i have one it this way, please correct me if i am wrong.

once i get a request , i create a message and i create a temporary queue for every request and send that temp queue destination along with my request to some appication who is listening , the listeneer then extracts my destination ans responds to that destination (temp queue) which i had created and to which i am listening.

but what i am worried about it that for every request i am creating a temp queue. so will it work in real time application where lets say 20-30 requests come at once, so my app will ccreate 20-30 temp queue. I am using Jboss 4.0.
and one more thing. are these temp queue destroyed automatically .if yes then i guess my approach should work i guess. i am pasting my code as well .
please do help me . thanks

rahul batra
Greenhorn

Joined: Nov 16, 2005
Posts: 10
this is the worst forum i have ever been to , dumb people with no answers , huh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what is best way of acheiving request response architecture using jms
 
Similar Threads
New To JMS
P2P using WSAD's embedded JMS- Naming Exception
Message is created but not received by the receiver
looking for MDB
JMS Request/Reply mode