This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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
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
Joined: Nov 30, 2000
Can you please give me an example where you would use firewalls between distributed app servers? Faisal
Author and all-around good cowpoke
Joined: Mar 22, 2000
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