• 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
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Performance: Remote EJB x Web Services

 
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
A tiny monkey bit me and I got tiny ads:
New web page for Paul's Rocket Mass Heaters movies
https://coderanch.com/t/785239/web-page-Paul-Rocket-Mass
reply
    Bookmark Topic Watch Topic
  • New Topic