Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HTTP and JMS communication

 
Vivek Hingorani
Ranch Hand
Posts: 43
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was recently asked in one of the interviews that how would i marry HTTP and JMS protocols in one enterprise system.
At one place JMS is asynchronous and doesn't allow a response back and a request is coming from HTTP(stateless protocol) and how would I have a system which accepts a response back from my JMS system.
In short how would I combine HTTP and JMS?
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What was your answer?
 
Vivek Hingorani
Ranch Hand
Posts: 43
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I didnt knew and hence asking it on the forum
 
H Paul
Ranch Hand
Posts: 471
4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@Ulf Dittmer,

JMS: From what I understand:

1. point to point async: fire and forget
Sender ---> queue ---> Receiver

2. point to point async: request and reply
Sender ---> in queue ---> Receiver
Sender <--- out queue <--- Receiver
by message correlation technique

I just wonder if point 2 a form of synchronous communication or not?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic