aspose file tools*
The moose likes Web Services and the fly likes Performance: Remote EJB x Web Services Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Performance: Remote EJB x Web Services" Watch "Performance: Remote EJB x Web Services" New topic
Author

Performance: Remote EJB x Web Services

Aurelio Calegari
Ranch Hand

Joined: Nov 25, 2005
Posts: 54
Hey Web Services Gurus,

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

Aurelio
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2922
    
    5
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Performance: Remote EJB x Web Services