This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes SOAP performance Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "SOAP performance" Watch "SOAP performance" New topic
Author

SOAP performance

faisal mahmood
Ranch Hand

Joined: Nov 30, 2000
Posts: 349
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

Joined: Mar 22, 2000
Posts: 12761
    
    5
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

Joined: Nov 30, 2000
Posts: 349
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

Joined: Mar 22, 2000
Posts: 12761
    
    5
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SOAP performance
 
Similar Threads
Web Services vs RMI
Since a SOAP message is transmitted in plain text
is SOAP universal language
SOAP vs. IIOP
Regarding SOAP Proftocol