Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Why we use JMS instead of using HTTP/SOAP WebService

1062147Aug 10 2014 — edited Aug 11 2014

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

This post has been answered by vladodias on Aug 10 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 8 2014
Added on Aug 10 2014
2 comments
2,047 views