Win a copy of Java Challengers this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • paul wheaton
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • Mikalai Zaikin
  • Himai Minh

SOAP performance

 
Ranch Hand
Posts: 349
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic