Hi,
Why we use JMS/SOAP instead of using HTTP/SOAP because HTTP is more good on TCP/IP (why vendor use JMS)
Why we use JMS rather than using direct data base because internally JMS use data base to store it’s payload.
I already read these post
<http://java.dzone.com/articles/performance-soaphttp-vs-soapjm> and
<http://it.toolbox.com/blogs/the-soa-blog/web-services-http-vs-jms-19110>
But actually most of the thing we can achieve in both eg
Consider using SOAP over HTTP for:
• Externally facing web services (e.g. customers or suppliers) (in JMS also it’s fine we can do that)
• For simple point-to-point and stateless services (we can have Point-to-point in JMS by using queues)
• Where you need a thin client with no MOM installations
Consider using SOAP over JMS for:
• High-volume distributed messaging (Why for High volume JMS is consider over HTTP base Web Service ?)
• Asynchronous messaging (HTTP based web service can be Asynchronous also and we can use correlation machining in it)
• Where a transaction boundary is needed in the middleware (what is transaction boundary, this not possible with HTTP Base web service ?)
• Where the message consumers are slower than the producers (where this point stand in difference)
• Guaranteed deliver (we can achieve in HTTP Base web service by using WS-Reliable messaging standard so how this point is telling difference)
• Only once delivery of messages (what dos "Only once delivery of message" menace and this is not possible with HTTP based web service ?)
• Publish/subscribe (this broad casting mechanism can be done using HTTP based web service also if all requester are reading single record from database) (even JMS use database internally)
• Distributed peer systems that might at times be disconnected (well for this also since HTTP Based web service we can use correlation sets (Asynchronous service) then even if next resource is not service will wait until it will be available and continue execute further. so how this pint is telling any difference)
Somebody really tell me what is the real benefits or difference and why and where we use JMS based Web service instead of HTTP Based Web service (real genuine difference)
Thanks