• 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
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

xml-rpc/SOAP

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why would a developer choose these network protocols ( xml-rpc/SOAP)over RMI?
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The primary benefit of using SOAP is that it is cross platform and language-independent. Once you publish a SOAP web service, clients can access it using Java, Perl, Python, C#, etc. This is because SOAP is a standard put forth by the W3C. The other advantage of SOAP is that it is supported by virtually all of the major application server vendors. In my opinion, SOAP is also easier to use.
RMI, on the other hand, is Java-specific. You would be better off using remote EJB objects than you would be using traditional RMI. EJB objects at least provide of the basic services your application would likely require (transactions, security, etc). Providing cross platform availability in this situation would require using CORBA, which is anything but fun.
 
when your children are suffering from your punishment, tell your them it will help them write good poetry when they are older. Like this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic