aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes HTTP and JMS communication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "HTTP and JMS communication" Watch "HTTP and JMS communication" New topic
Author

HTTP and JMS communication

Vivek Hingorani
Ranch Hand

Joined: Jul 08, 2011
Posts: 38
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
Marshal

Joined: Mar 22, 2005
Posts: 42280
    
  64
What was your answer?


Ping & DNS - my free Android networking tools app
Vivek Hingorani
Ranch Hand

Joined: Jul 08, 2011
Posts: 38
I didnt knew and hence asking it on the forum
H Paul
Ranch Hand

Joined: Jul 26, 2011
Posts: 471
    
    4
@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?
 
wood burning stoves
 
subject: HTTP and JMS communication