Q1:I figured that REST and JMS are different things and used depending upon what's needed. With JMS asuchronous messaging is possible since it follows FIFO (Queue/Topic based model). I was reading online somewhere that the asynchronous messaging is possible with REST as well. Based on what I understood, if
Q2: I am planning to use Spring JMS for asynchronous requests as well as synchronous request. Basically, I have a stored procedure that's going to take hours and hence I am planning to send this request to JMS queue. If I understood JMS properly, how does the SQL query or call to a stored procedure will get executed in the MOM (let's say ApacheMQ), I mean how it's going to communicate with the Oracle database to execute the stored procedure/SQL query?
Furthermore, I don't think that JMS is well suited for synchronous processing. I'm fairly sure it didn't even support that way back when I looked into it, although that may have changed in later releases.
please buy my thing and then I'll have more money:
global solutions you can do at home or in your backyard