• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SOAP performance

 
faisal mahmood
Ranch Hand
Posts: 349
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is SOAP better performing than JRMP (Java RMI) or IIOP (CORBA) or DCOM protocol (I can't remember what the name is)?
Since SOAP is XML message (increase in size) and uses HTTP protocol, is it worth using SOAP where the performance is important?
Faisal
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13055
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SOAP is slower than RMI or IIOP-CORBA - not surprising given all of the encoding -> writing tags -> parsing -> decoding that goes on.
The main attractions are: can use HTTP to penetrate firewalls, messages are plain text and easy to edit for debugging, you can expose a SOAP service simply by publishing the WSDL.
If you need speed and don't have to worry about firewalls, etc. RMI will be spectacularly faster.
I have been building a list of SOAP resources at: http://www.lanw.com/books/javasoap/default.htm
Bill
 
faisal mahmood
Ranch Hand
Posts: 349
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you please give me an example where you would use firewalls between distributed app servers?
Faisal
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13055
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any service exposed to the public Internet will certainly have some sort of firewall. Public services are the main focus of SOAP - within an isolated network you might use SOAP for communication between different architectures.
Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic