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

diffrence between SOAP and RMI

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello friends
i need some help in finding out how SOAP is better choice then RMI
kindly help
bipul.kumar@azikewe.com
 
author and jackaroo
Posts: 12200
280
Mac IntelliJ IDE Firefox Browser Oracle C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Bipul,
Welcome to JavaRanch. We don't have many rules here, but one we do have is the JavaRanch Naming Policy. We require you to have a first name and a last name as your displayed name (no email addresses), and the displayed name should be your real name. Could you please update your displayed name to meet this policy? You can change your displayed name here.
The SCJD forum is for discussions on the Sun Certified Java Developer assignment and exam. There is no need for SOAP in the SCJD assignment, and so this question does not really fit in this forum. The contributor's to the Web Services forum may be able to give you a better idea of SOAP, but I don't think that a comparison with RMI would be appropriate there. A better place for your question would be the Distributed Java forum. I have therefore moved this thread here.
Regards, Andrew
 
(instanceof Sidekick)
Posts: 8791
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
RMI is well named - Remote Method Invocation. It allows Java-to-Java remote method calls. A nice thing for sure.
SOAP is badly named. It is not simple, not object oriented, not an access method and arguably not a protocol. But it is highly interoperable. You can provide SOAP services or call SOAP services using just about any language, OS, platform, etc. I call it the lowest common denominator. Common because so many diverse platforms can use it, but low because XML involves a lot of expensive string handling for composition and parsing, XML is a fat payload, HTTP is not your fastest protocol choice (of course SOAP can be done over others, but HTTP is most common). I think the common makes the low worth while when you value interoperability.
Hope that helps you compare the two
 
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just to add to what james said. SOAP is not really scalable.
Regards,
Vinod.
[ December 11, 2003: Message edited by: Vinod Chandana ]
 
Vinod Chandana
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Vinod Chandana:
Just to add what james said. SOAP is not really scalable.
Regards,
Vinod.

reply
    Bookmark Topic Watch Topic
  • New Topic