aspose file tools*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 12769
    
    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: 12769
    
    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