I'm almost positive that web services have better performance over the network compated to EJB Remote calls.
Can anyone confirm that or point if I'm wrong? Do you know a web site or article which compare their performance ?
Thanks very much in advance
Joined: Aug 19, 2005
Originally posted by Aurelio Calegari: I'm almost positive that web services have better performance over the network compated to EJB Remote calls.
I would have guessed quite the opposite - XML adds a huge bloat compared to binary serialized data and XML marshalling and un-marshalling tends to be much slower than binary serialization and de-serialization. and this paper Comparison of Web Services, Java-RMI, and CORBA service implementations corroborates that - web services are 2 to 10 times as costly as Java RMI or CORBA.
This is why it is important to keep web services as coarse grained as possible.