wood burning stoves 2.0*
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
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
 
jQuery in Action, 2nd edition
 
subject: what is best way of acheiving request response architecture using jms