What is the use of XML as a transfer syntax for network protocols

I do not quite understand the use of XML as a transfer syntax of wire protocols. What is its use over binary encodings?

Also, see ASN.1
XML is used because decision makers, usually managers, think that because it's human readable, that makes it simple to process. Unfortunately, this is far from true. It is very costly to process, because parsing it involves examining every character.
It's also incredibly wasteful of bandwith. In due course someone will propose a compression scheme for it, and then someone else will ask why we don't just use the compressed form as the protocol, and forget the text representation.
Sylvia.

Similar Messages

  • What is the use of XML file in EJB

    Hi,
    Generally EJB contains
    1) Home Interface
    2) Remote Interface
    3) Bean class
    4) XMl file
    In xml file we will mention something like
    <home>name of home interface </home>
    <remote?name of remote interface</remote>
    what is the use of this xml file and how it works.
    Thanks.

    It's called the deployment descriptor and it's used by the container to support your bean's configuration. For instance, if you want container managed persistence for an entity bean then you need to tell the container which table to use in which database with the column mappings, etc.

  • What is the use of XML data collections

    Dear all,
    I have open the Adventure works database sample and have few technical design question about it :
    1- I have seen that seen that some function has been define. IN which case we should use function vs Store procedure ? so far I always have used SP.
    2- I have notice also that in some table, there is a field which contains XML content and this XML content is coming from the XML Schema collections. Some shemas has been define here for different tables.
        - What are those shema used for in here ?
        - How they are created ?
        - how they get inserted to Table colum ?
    I am not a DBA and knows some basics but not all so thanks for simple explaination :-)
    regards

    Hi wakefun,
    About your questions, I recommend you review the following articles for understanding user function , Store procedure and XML Schema collections in Adventureworks database.
    1. Stored Procedures in AdventureWorks;
    2.
    User-Defined Functions in AdventureWorks;
    3. XML Schema Collections (SQL Server).
    The XML schema collection is a metadata entity like a table in the database. You can create, modify, and drop them.
    the XML stored in a column or variable that a schema is associated with is referred to as typed XML, because the schema provides the necessary data type information for the instance data.
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • What is the use of Storage loc.ref.in LE-WM Interface to Inventory Managemt

    Hi Guys
    What is the use of below fields
    Special movement indicator for warehouse management and Storage loc. ref.
    In the WM configaration LE-WM Interface to Inventory Management
    How we can do the below scenario with this configaration
    I have 3 scenarios all scenarios have MIGO and placing stock to WM
    2 scenarios requres Immediate TO creation after MIGO 101 mvt type
    But last scenario does not want Immediate TO ,it is having another Z transaction to create TO
    But problem is for the last scenario also creating Immdiate TO after MIGI 101
    How to avoid this Immdiate TO for this scenario
    And How to allow it for first 2 scenarios
    How we can to with that configaration

    Hello ,
    It is not possible directly in customising as all three cases are using the same Mvt Type.
    Alternate Solution :
    You may try an by creating a new Mvt Type 901 i.e making a copy of 101.
    Thereafter try to link a new Ref Mvt Type to the same .You should use this case for the third scenario.
    This may resolve your problem.
    Regards
    Ramesh Ch

  • What is the use of AB08 ?

    Dear All,
    Experts,
    Can anybody tell me what is the use of  T.code AB08 ? ( Documents for Assets )
    Regards,
    Pankaj.

    Hi, take a look on this:
    [http://help.sap.com/saphelp_erp60_sp/helpdata/en/4f/71fd71448011d189f00000e81ddfac/frameset.htm|http://help.sap.com/saphelp_erp60_sp/helpdata/en/4f/71fd71448011d189f00000e81ddfac/frameset.htm]
    Be careful when you have an asset with several transactions, and you want to reverse a transaction that is chronologically immediately after a negative transaction. In this case, you may have to reverse the negative transaction as well, since the net book value of the asset could become negative after the first reversal.

  • What is the use of hsqldb-ds.xml in jboss

    Hi Guys,
    What is the use of hsqldb-ds.xml in jboss deploy folder
    i have my ds file atg_ds.xml in same folder how it will identify our ds file

    Oracle ATG Web Commerce - Configuring Databases and Database Access
    Quoting from link:
         JBoss comes with its own demo database, Hypersonic (note the datasource hsqldb-ds.xml in the /deploy directory).
    I am not sure how it's working in ur case.
    Thanks,
    Nitin.

  • What is the use of security-constraint tag in web.xml

    what is the use of following tag , and how to use that, and where to use that tag.
    <web-resource-collection>
    <web-resource-name>SecureOrderJSP</web-resource-name>
    <descrip<url-pattern>/order/*</url-pattern>
    <http-method>GET</http-method>
    <http-method>POST</http-method>
    </web-resource-collection>
    <auth-constraint>
    <role-name></role-name>
    </auth-constraint>
    </security-constraint>tion>Protect the Order JSP Pages </description>

    Hi,
    You can refer this link
    http://www.whizlabs.com/tutorial/scwcd/j-scwcd-7-5.html
    give the complete description of your doubt
    Thanks,
    Snigdha Sivadas

  • What is the use of Host in Technical system

    Hi experts,
    While creating Technical sytem what is the use of creating Host.
    while creating Business System we create Logical System.When we are creating for Sap system then there we give client logical sytem name,but while creating for third party systems what is the use of it.....
    while creating Technical system and Business system v have 4 radio buttons
    Web As ABAP
    Web as Java
    Standalone
    thirdParty
    what is the use of Standalone when and in which senario we use this Standalone.
    Note:valuable anser will be rewarded.
    Regards,
    Phani

    Hi
    1. Third Party: Can be any Tech System. For example you want to send a xml message from a file adapter residing on your PC. You can define your PC as a 3rd party Tech/Business System.
    2. StandAlone Java: WEBAS640 has got Basis and Java Stacks. If you installed <b>only the standalone java Stack on a server</b>, then you define a standalone java tech system.
    Regards
    krishna

  • What is the use of version attribute in jnlp tag??

    Hello,
    I want to know what is the use of version attribute in jnlp tag.
    For ex:
    <jnlp spec="6.0+" codebase="$$codebase" href="$$name" version="1.1">
    </jnlp>
    In the spec it explains:
    In the Jnlp tag:
    version = The version of the application being launched, as well as the version of the JNLP file itself.
    1. Is this version attribute would work as version attribute in jar tag. Ex: <jar href="application.jar" version="1.1"/> ?
    i.e. can we specify different jnlp's with the same name as we do for jar's with the help of version.xml.
    Any help is greatly appreciated.
    //Anjali

    Hi Reddy,
    If one Info Object depends on another info object we will make that dependent info object as a compounding attribute of main Info object.
    Eg: Storage Location – Plant
    In above eg there is no meaning of Storage Location without Plant. So, we will make storage location as compounding attribute of Plant.
    Regards,
    Sreehari.

  • What is the use of these filters in atg

    Hi Guys,
    In my web.xml file i have code like this
    <filter>
            <filter-name>PageFilter</filter-name>
            <filter-class>atg.filter.dspjsp.PageFilter</filter-class>
        </filter>
        <filter>
            <filter-name>ForwardFilter</filter-name>
            <filter-class>atg.servlet.ForwardFilter</filter-class>
        </filter>
        <filter>
            <filter-name>ErrorFilter</filter-name>
            <filter-class>atg.servlet.ErrorFilter</filter-class>
        </filter>
        <filter-mapping>
            <filter-name>ErrorFilter</filter-name>
            <url-pattern>/*</url-pattern>
            <dispatcher>ERROR</dispatcher>
        </filter-mapping>
        <filter-mapping>
            <filter-name>ForwardFilter</filter-name>
            <url-pattern>/*</url-pattern>
            <dispatcher>FORWARD</dispatcher>
            <dispatcher>ERROR</dispatcher>       
        </filter-mapping>
        <filter-mapping>
            <filter-name>PageFilter</filter-name>
            <url-pattern>/*</url-pattern>
            <dispatcher>REQUEST</dispatcher>
            <dispatcher>ERROR</dispatcher>       
            <dispatcher>FORWARD</dispatcher>
        </filter-mapping>
    what is the use of these filters what will happend if i remove these filters in web.xml file
    please give me clear picture on these 3 filters and how these filters are helpful in our application.

    As the name filter suggest, All the request will go though these filters if certian condition is satisfied
    In ATG web.xml contains following filter:
    <filter>
        <filter-name>PageFilter</filter-name>
        <filter-class>atg.filter.dspjsp.PageFilter</filter-class>
    </filter>
    <filter-mapping>
        <filter-name>PageFilter</filter-name>
        <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    When there is .jsp in url pattern all the request will go through Page Filter.
    Filter is java concept.For More details about Filter, Refer http://docs.oracle.com/cd/E19502-01/819-3669/6n5sg7b0b/index.html
    In order to process Jsp request, ATG use Page filter. It converts normal HttpRequest/HttpResponse to DynamoHttpRequest/DynamoHttpResponse. Please refer http://docs.oracle.com/cd/E24152_01/Platform.10-1/ATGPlatformProgGuide/html/s0801requesthandlingwithservletpipeli01.html

  • What is the use of jsp when compare with Struts

    what is the use of jsp when compare with Struts

    JSP Tag Libraries are great for reusable content formatting and ligic.
    For example, let's say you have this Shopping site. Each item you sell is stored in a database, and you get them out depending on Catagories, creating a List of ItemBeans. You allways want to display the items with a catagory header, then a <table> with the item number, the description and the price.
    Instead of creating a bunch of logic in the JSP that does this, you can pass it on to a Tag that might look like this in your JSP:
    <shopping:itemTable catagory="${selectedCatagory}" items="${itemsForCatagory}" />
    This would make the JSP easier to read and work with.
    The actual uses are incredible. Have you used the <jsp:useBean ...> tag? That is an example of a use of the Custom Tag Libraries.
    Furthermore, look into JSTL (JSP Standard Tag Libraries). They are a collection of tags (API by Sun, coding by Apache) used to do many of the standard actions you might want/need to do in JSPs, like a conditional tag (c:if only do something if the test is true), multiple-conditional tags (c:choos c:when c:otherwise) like an if [else if] else construct. Looping through an array or Collection (c:forEach), storeing values in scopes (c:set) formating numbers and dates (the fmt library), xml transformations (xml library), and lots of other things that you could replace scriptlet code with.

  • What is the use of the setter dependency injection in Spring?

    What is the use of the dependency setter injection ?
    In a database driven app, I retrieve results, use the javabeans set methods to save stuff in javabeans and then call get on it.
    What is the use of having something set externally from a xml already ?
    Can someone provide an example when the setter injection can be used?
    I wouldnt imaginge using it to get usernames, passwords, databaseurl because we use JNDI for that...
    Is the dependency setter meant as something additional to web.xml so you dont have to get params from web.xml?

    No, you would indicate in the XML that the Hibernate object and the TransactionFactory (I am being vague here) have a dependency. You then specify whether you want setter or constructor injection. When Spring creates the Hibernate Object, it will attempt to also create a TransactionFactory and pass that to the Hibernate Object's setter. "Auto-wiring" them together for you.
    - Saish

  • What is the use of "oracle.jbo.client.svc.ADFApplicationLifecycleListener"

    Hi All,
    We are currently developing some data services using ADF-BC, can someone tell me what is the use of "oracle.jbo.client.svc.ADFApplicationLifecycleListener" listener? We are using this listener in weblogic applicaion xml but no idea why its used.
    Also, what is the difference between
    "oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener" and "oracle.jbo.client.svc.ADFApplicationLifecycleListener"
    I tried searching a lot of documentation but none of them seem have this information.
    Thanks
    Mustufa
    Edited by: 875380 on Jul 27, 2011 3:33 AM

    Repeated start/stop or redeploy causes memory leak (7393267)
    Repeated start/stop or redeploy of an application causes memory to leak and the server has to be restarted to clean up the memory. New applications created in JDeveloper 11.1.1.0.1 will be configured with a Weblogic Application Lifecycle Listener to handle this scenario. For older applications migrated to 11.1.1.0.1, the listener will need to be manually added to the weblogic-application.xml of the application to solve this issue.
    <listener>
    <listener-class>oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener</listener-class>
    </listener>
    From : http://www.oracle.com/technetwork/developer-tools/jdev/knownissues-096030.html

  • What is the use of this form?

    Hi all,
    What is the use of this form in include RV61B901?
    How does this code send any information to the program calling it? Is Sy-subrc global so that main program will know the reuslts?
    Code:
    FORM KOBED_901.
      DATA : l_anzpk LIKE likp-anzpk.
      SELECT SINGLE anzpk FROM likp
                          INTO l_anzpk
                          WHERE vbeln = komkbv2-vbeln.
      IF l_anzpk NE 0.
        sy-subrc = 4.
        exit.
      ENDIF.
      sy-subrc = 0.
    ENDFORM.
    Thanks,
    Charles.

    Hello,
    This form sets the value of sy-subrc(which is global) based
    on the value of l_anzpk.
    Regards
    Greg Kern

  • What is the use of additon in up to 1 rows in SELECT statement

    Hi All,
             What is the use of up to 1 rows in select statement.
    for example
    SELECT kostl
          FROM pa0001
          INTO y_lv_kostl UP TO 1 ROWS
          WHERE pernr EQ pernr
          AND endda GE sy-datum.
        ENDSELECT.
    I'm unable to get in wat situations we hav to add up to 1 rows
    please help me out...
    Thanks,
    santosh.

    Hi,
    Use "select up to 1 rows" only if you are sure that all the records returned will have the same value for the field(s) you are interested in. If not, you will be reading only the first record which matches the criteria, but may be the second or the third record has the value you are looking for.
    The System test result showed that the variant Single * takes less time than Up to 1 rows as there is an additional level for COUNT STOP KEY for SELECT ENDSELECT UP TO 1 ROWS.
    The 'SELECT .... UP TO 1 ROWS' statement is subtly different. The database selects all of the relevant records that are defined by the WHERE clause, applies any aggregate, ordering or grouping functions to them and then returns the first record of the result set.
    Regards,
    Bhaskar

Maybe you are looking for

  • Satellite A300 - won't connect to WPA secured network

    Help please.... new Toshiba Satellite A300 - running XP professional with atheros AR9281 wireless network adapter (driver 7.6.0.200) won't connect to WAP secure networks, but seems to be fine with WEP and unsecured networks? I can connect to my WAP s

  • Forum post ID's and broken tag rendering

    Hi all and Merry summer solstice How do I reference the forum post ID's? I saw a post relating to the tag {tag_blogpostid} - what is the equivilent tag for forum posts? My customer is a forum user, and they have used really basic forums in the past,

  • Question about Inner/Outer classes

    Hello! I'm still preparing for java cert exam and have a question. If I have Outer and Inner classes like this: Outer o = new Outer(); Outer.Inner i = o.new Inner();Does this mean that 'i' has a reference to both Outer and Inner classes. Moreover, do

  • Installing CS3 on Multiple Workstations

    Last year, I purchased Design Premium CS3. I have installed the suite on one workstation. Can I install the suite on more than one workstation?

  • Error trying to use jsp:useBean

              I am trying to use a class in a JSP that is basically a connection to an           Oracle database. It works fine when used from a servlet. However, when I try           to instantiate it from a JPS page, I get errors. Here is the snippet f