How far Web service is better than RMI??

Hi buddies,
can anyone pls tell me *"How far Web Services are more preferable than RMI?"*
i am totally confused of various kind of answers?
thanx in advance.
bye,
subbu

RMI transmits objects via Serialization so is much more space and time efficient over a LAN.
Web Services transmits XML over HTTP so it can generally negotiate firewalls, which can be a major problem with RMI systems.
Web Services don't support callbacks or small transactions very well, where RMI does (firewalls permitting).
The security features built into Web Services or available via XML are superior to RMI over SSL in a number of ways.
Basically RMI is best where you want to export an extensive API via a LAN. Web Services are best when you want to export a few simple transactions via the Web.

Similar Messages

  • How  Stateless Web services requests can be authenticated using HTTP Login

    Hi All,
    How Stateless Web services requests can be authenticated using HTTP Login (with Oracle CRM On Demand Single Sign On (SSO) Token in HTTP Header).
    If there is any code regarding stateless Web services requests to CRMOD please send it to me that will be helpful for me.
    Please help me.
    Thanks,
    Jaysing
    Edited by: 883663 on Sep 19, 2011 12:06 AM

    You cant use stateless web services when you're using SSO. It's called out in the documentation.

  • How call web Services in web dynpro abap ..?

    hi guru,
    how to call web service in wd abap ?
    wheather it is possible or not,if it possible please give me a exqmple
    Regard,s
    Vivekananthan.S

    Hi Vivek,
    you wont be able to call web service directly you have to create a proxy class to use that service...
    please refer the thread below.....
    Consuming WSDL
    regards
    Pranav

  • How a web service  consumed/used in e-sourcing 7.0?

    Hi every one,
    as a beginner to this Esoucing application just wanted to know how web services are configured and used in e sourcing application.
    Regards
    Tarun

    Thanks Kushagra,
    But the link which you have provided is more of configuring the KM Configuration for SAP CLM.
    IAs per the requirement from Business user want to fetch attachments from the Documents in CLM in Bulk
    will it be possible by Script or some task i have to write.
    Could you help here.
    Thanks
    Tarun

  • How to Web Service Transaction in MII

    Can someone recommend a link or reference to describe how to set up the Transaction Object and Links to call a web service from SAP Manufacuring Exection?
    Thanks,
    Steve

    WSDLGen URL:  http://wbhelp.sap.com/manufacturing/xmii_120/en/44/847b251e4355cee10000000a1553f6/frameset.htm
    URL Help:  http://help.sap.com/saphelp_mii121/helpdata/en/4a/287c3dd30242ade10000000a421138/frameset.htm

  • Better than rmi ?

    hi,
    could any one tell me if there is a better way than RMI for remote procedural calls using a JAVA implementation.actually i need to know what is replacing RMI for remote calls on a WAN say ?
    thanks

    Please do not cross-post.
    http://forum.java.sun.com/thread.jspa?threadID=739258

  • How call web service for ip phone??

    i want to call a web service(.NET) by IP Phone. but i don't no how to call a web service. please tell me. i'm just beginner.

    Cisco has a developer's guide that everybody should read: http://www.cisco.com/en/US/products/sw/voicesw/ps556/products_programming_usage_guide_book09186a0080634f5e.html

  • Deploy J2EE Web Service with otherwise than SUN1AS

    Right now i have a webservice up and running on a Sun1 that comes with J2EE1.4 tutorial.
    But if i try to deploy the war to other AS (say OC4J), saving the web.xml transformed to 2.3, the call to this WS fails because it says the Servlet is not a Servlet (wich is quite right). So, what is going on?
    Can't I deploy a WAR containing a WS generated with deploytool to other AS?
    Thanks and thanks again,
    Mariano.

    Things I've learnt these days.
    1-) J2EE is still too new for many Application Servers.
    2-) Developing web services is a tough, long way to go.
    I finally realized war's containing web services are not that portable at all.
    I had to download Jdev's 10g preview in order to deploy 1 miserable JAX-RPC web service in OC4J.
    And I still can't return a java.util.HashMap in the service's response...not to mention trying to add its mapping in JDev's web service creating process...
    So, hold still gentleman, for it's rough.
    Thanks,
    Mariano.

  • Web Service with more than one operation?

    Hey,
    a web service could contain 1..N operations. It is possible
    to define this with XI? Normally I took an outbound interface
    and create a web service, but this outbound interface defines
    the structure of the only operation of this web service, did it?
    Does SAP XI supports only a one-operation web service?
    thanks
    chris

    This is supported from PI 7.1 onwards.
    VJ

  • How reach 'Web Service Clients' through NWA

    Hello guys,
    Cannot perform this steps in NWA (Visual Admin doesn't work for CE). See nothing that looks like 'Web Service Clients' there...
    1. Start the Visual Administrator and select the node Server <x> / Services / Web Services Security from the Cluster tab.
    2. Within the tab Web Services in the right frame select Security Configuration / Web Service Clients / sap.com / tcwdpdfobject / com.sap.tc.webdynpro.adsproxy.AdsProxy*ConfigPort_Document.
    Please help!
    Kirill

    Hi,
    Try it.
    http://<host>:<port>/nwa
    SOA Management -> Business Administration-> Web Services Administration
    Search and select what you need -> Configuration -> Select a logical Port and go to Security tab.
    Best regards

  • How different Web Services can use a class which parses an XML file

    I am using RAD6.1 for developing and deploying web services.As I am using 15 web Services which uses a common class which is used to parse an XML file.As this XML file should be parsed only once and should be used by all the web services.I have made this common class as Singleton but it works as singleton for only one webservice and for other web service again it is parsing the xml file.I want to parse this xml file only once and used by all the web services.In my case tis file is parsed 15 times for 15 web services, but it should be parse donly once and used by all 15 services.Please give me the solution.
    Thanks and Regards
    Sayeeduzzaman

    Hello,
    the 15 Webservices should have a static attribute which contains the xml:
    private static String xml;
    then initialise the xml like this:
    if (xml == null)
    xml = parseIt();
    else
    //do nothing, XML already initialised!
    }

  • Which web browser is better than opendoor??

    I am in iran and here internet is filtered

    What could be possibly better than an Apple product for an Apple product.
    Actually there are various areas where Safari is defective compared to other browsers. For example it lacks the ability to override the fonts of a website with fonts of your own choosing. Also it cannot send a different language identifier for multilingual webpages without changing the language for the entire OS. Whether the defects matter depends of course on each user's individual requirements.

  • How is v 3.5 better than v 3.0

    I have Final Cut Express HD 3.0. The latest version, I believe, is 3.5. Would I be better off upgrading? I've read that there is full keyframe control now. Would this include the Motion control? If I have 3D text, could I rotate it and see all angles; or, is that possible only in Final Cut Pro?
    Also, SoundTrack and LiveType have been updated. Are there any new fonts in LiveType? Are there any 3D-looking fonts that rotate a full 360 degrees?

    Yes to everything except the last question.

  • Demonstration of Web Services' power

    Hi,
    We have to give a presentation to our clients on Web Services. Most of the literature on Web Services say that applications hosted as Web Services are better than conventional distributed systems. It also say that "Changes introduced to the Service do not break a Client's ability to use the service". Now changes can be
    1.Modification to existing operations/methods
    2.Addition of new operations/methods
    I need a pseudo-code/sample program that demonstrates the flexible and resilient nature of Web Services architecture. That is, a scenario that will fail in conventional distributed systems when changes are introduced, WILL work fine when implemented as a Web Service. Any help will be greatly appreciated and motivate us to convince our customers of Web Service's power.
    Thanks & regards,
    Sudharshan Govindan

    Hi sudharshang,
    I'm currently finishing my graduation Project and it is about Web Services. So I have some insights for you!
    "Changes introduced to the Service do not break a Client's ability to > use the service". Now changes can be
    1.Modification to existing operations/methods
    2.Addition of new operations/methodsThat is true because you expose your service through its WSDL description. In the WSDL document, it's described how to access the service (the method name, its parametes, the endpoint, etc). So it totally hides the service's implementation.
    1) Modifying the existing methods won't make any difference to its WSDL document, that's why it's transparent for the client
    2) By adding new methods,
    a) if the client is dinamically finding, binding and invoking the service, it'll be transparent for the client again
    b) if the client is sending a direct SOAP method call message, to invoke the new method, you'll have to modify the client to invoke the new method and you'll have to publish (send to the client, in this case) the WSDL document again!
    That is, a scenario that will fail in conventional distributed >systems when changes are introduced, WILL work fine when implemented >as a Web Service. Any help will be greatly appreciated and motivate us >to convince our customers of Web Service's power.A scenario that fail in conventional distributed systems is when different distributed tecnologies must communicate/interoperate/integrate! If a situation where different systems with different technologies exists and they need to interoperate, the simpler solution is to build a new abstraction layer where every sistem expose their data and methods through Web Services.
    If the same systems where designed to use Web Services since the beggining, they didn't even needed a distribution technology. Web Services will work great in this case as well!
    Hope it helps,
    Andre

  • How to call Web Services (with javascript) in a view load event ?

    Hello to the expert community,
    I'm looking for a piece of javascript code allowing to call Web Services in a view load event ?
    Any ideas will be really appreciated.
    Regards.
    Have a nice week.

    Thank you for your answer, dongmei.
    It seems that the MethodResultTableDataProvider does not return the response of the web service as a value field if the WSDL contains only one result element.
    E.g. from WSDL of the USWeather Web Service which returns theGetWeatherReportResult string:
    <?xml version="1.0" encoding="utf-8"?>
    <wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://www.webserviceX.NET" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://www.webserviceX.NET" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
      <wsdl:types>
        <s:schema elementFormDefault="qualified" targetNamespace="http://www.webserviceX.NET">
          <s:element name="GetWeatherReport">
            <s:complexType>
              <s:sequence>
                <s:element minOccurs="0" maxOccurs="1" name="ZipCode" type="s:string" />
              </s:sequence>
            </s:complexType>
          </s:element>
          <s:element name="GetWeatherReportResponse">
            <s:complexType>
              <s:sequence>
                <s:element minOccurs="0" maxOccurs="1" name="GetWeatherReportResult" type="s:string" />
              </s:sequence>
            </s:complexType>
          </s:element>
          <s:element name="string" nillable="true" type="s:string" />
        </s:schema>If I drag the web service method on the page and I should be able to select the response value in the Bind to Data dialog box. But there is no value field. Value fields only occur if the web service returns more than one value.
    The question is how can I get the response GetWeatherReportResult from the service.

Maybe you are looking for

  • Have I been hacked?

    Ok, so I was on deviant art .com- a website which lets artists of all kinds post pictures of sculptures, paintings, drawings, photos, digital art, etc., online and lets them create a profile. I have been using it for a few months now, just looking fo

  • 500 Internal Server Error - Working with Web Dynpro

    Hi, I need some help regarding "Web Dynpro's" When i try and and run the test from :- Support Desk- Web Dynpro Test Tools- Portal Navigation, the following error occurs:- 500 Internal Server Error While processing the current request, an exception oc

  • Change to links in 2014.1 update

    After allowing the automatic update last night, I reopened pages to see missing graphics, apparently because DW had reverted to site-relative links. In the manage sites window, I reset it to document-relative but all does not seem right. After replac

  • RMAN & DATA GUARD

    Enterprise Linux Enterprise Linux Server release 5.4 (Carthage) Kernel 2.6.18-164.el5PAE on an i686 Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production With the Partitioning, OLAP and Data Mining options we are maintainig three dat

  • Why should we using abappromgram in SAPBW for writing routines

    Hi, can any body help me ... I want to write routines,but i dont know the abap programm,i am new for this concept,so,please give good suggestion and how to improve the abap concept.. with regards.. goodyear