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.

Similar Messages

  • What is the use of additional file(s) in  sender file adapter?

    Hi experts,
    what is the use of  additional files parameter in sender file adapter?
    give me some example.......
    Thanks & Regards
    E.Ravi Chandra Reddy

    Hi,
    please check the below link,
    you can specify additional files to be included in the XI message as attachments.
    http://help.sap.com/saphelp_tm90/helpdata/en/44/692ab8a4b633eae10000000a1553f6/content.htm
    Regards

  • What's the use of this file?

    I found a file with the name [email protected] in $oracle_home/dbs.
    I deleted it and my oracle works as usual.
    What's the use of this file?
    Thanks

    I hope you took a backup of that file before zapping it. As a rule, it's a very bad idea to just delete a file in the Oracle directory to see whether anything breaks.
    If you had read the documentation you would have discovered that [email protected] is part of the RMAN configuration. So your database will continue to work up until the point you try to use RMAN to recover it. If you don't use RMAN then you probably won't miss that file.
    Cheers, APC

  • What is the use of properites file

    what is the use of properites file

    Hi there
    Usally a program has some variables that the user can set.
    These variables are then saved in a file.
    The Property class can read these files and search for special keys in that file for example
    Lets say that the program that you have developed
    can change its background color.
    the user sets the color to pink
    and the program stores the valu in the property file.
    then the property file entry could look like this
    color = pink
    On windows systems this is verry much like the ini files if you are familiar with these. (I think allmost any OS has something similair)
    In JDK 1.4 there is a new system for dealing with property files. This new class is storing the attributes directly to the register on the os
    /Markus

  • 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.

  • What is the use of archie file when it is used

    Hai friends
    when u r using archie file what is the that
    thanks&regards
    Ravindra

    Archiving BW data reduces its volume, resulting in faster loads and queries.
    There is a How to documnet regarding this :
    gothrough the link :
    http://209.85.165.104/search?q=cache:vBJywGKfBQoJ:help.sap.com/bp_biv133/documentation/HowToArchiveinBW_EN.docarchivingin+BW&hl=en&ct=clnk&cd=2&gl=us

  • 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 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.

  • How to update the value in xml file using transformer after setNodeValue

    Hi,
    This is my code
    I want to set update the values in xml file using transformer..
    Any one can help me
    This is my Xml file
    <?xml version="1.0" encoding="UTF-8"?>
    <place>
    <name>chennai</name>
    </place>
    Jsp Page
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@ page import="javax.xml.parsers.DocumentBuilderFactory,
    javax.xml.parsers.DocumentBuilder,org.w3c.dom.*,org.w3c.dom.Element"
    %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>JSP Page</title>
    </head>
    <body>
    <% String str="";
    String str1="";
    try
    DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
    DocumentBuilder db = dbf.newDocumentBuilder();
    Document doc = db.parse("http://localhost:8084/XmlApplication1/sss.xml");
    out.println("Before change");
    NodeList n11 = doc.getElementsByTagName("name");
    Node n22= n11.item(0).getFirstChild();
    str1 = n22.getNodeValue();
    out.println(str1);
    out.println("After change");
    String name = "Banglore";
    NodeList nlst = doc.getElementsByTagName("name");
    Node node= nlst.item(0).getFirstChild();
    node.setNodeValue(name);
    NodeList n1 = doc.getElementsByTagName("name");
    Node n2= n1.item(0).getFirstChild();
    str = n2.getNodeValue();
    out.println(str);
    catch(Exception e)
    out.println(e) ;
    %>
    <h1><%=str%></h1>
    <%--
    This example uses JSTL, uncomment the taglib directive above.
    To test, display the page like this: index.jsp?sayHello=true&name=Murphy
    --%>
    <%--
    <c:if test="${param.sayHello}">
    <!-- Let's welcome the user ${param.name} -->
    Hello ${param.name}!
    </c:if>
    --%>
    </body>
    </html>

    hi check this exit...
    IWO10012

  • What belongs in the faces-config.xml file? Just bean and navigation info?

    I am looking for detailed information on the faces-config.xml file.
    I've used examples up to this point and I was wondering where the documentation for this configuration file was at.
    At this point, I know that bean management and navigation information is in this file, but are there other settings?
    Thanks,
    --Todd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Pringi: The tag explantion information, why isn't that easily found on Sun's web site or document site?
    This has been the most frustrating part - finding pieces of information here and there... and not in one location.
    Thanks,
    --Todd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • What does PS use for a file browser now? I am used to using the file browser on CS1

    What does PS use for a file browser now? I am used to using the file browser on CS1

    Newer versions of Photoshop ships with Adobe Bridge for Organizing image files.  However your not required to use it.  You can also use LightRoom or system utilities like Windows File explorer and Mac Finder.  Photoshop itself uses System dialogs to access your file systems files.   When Photoshop display an Open or Save dialog to you in all probability its a Windows or Mac System dialog.  Photoshop versions may also have some internal Photoshop Dialogs programed by Adobe for accessing your systems file systems.

  • What is the resource download URL in the exported books.xml file?

    What is the purpose of the resource download URL in the exported books.xml file? The following is an excerpt of a books.xml file.
      <resourceItemInfo>
        <resource>urn:uuid:309dffc8-7993-4837-b8e9-00easde241cfa</resource>
        <resourceItem>1</resourceItem>
        <metadata>
          <dc:title xmlns:dc="http://purl.org/dc/elements/1.1/">Paradise Lost</dc:title>
          <dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Milton</dc:creator>
          <dc:format xmlns:dc="http://purl.org/dc/elements/1.1/">application/epub+zip</dc:format>
          <dc:publisher xmlns:dc="http://purl.org/dc/elements/1.1/">Project Gutenberg</dc:publisher>
          <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">en</dc:language>
          <dc:identifier xmlns:dc="http://purl.org/dc/elements/1.1/">http://www.gutenberg.org/ebooks/26</dc:identifier>
        </metadata>
        <src>http://xxxxx.com/books/309dffc8-7993-4837-b8e9-00e97e1cfa.epub</src>
        <downloadType>simple</downloadType>
        <licenseToken>
          <resource>urn:uuid:309dffc8-7993-4837-b8e9-00e97e241cfa</resource>
          <permissions>
            <display/>
            <excerpt/>
            <print/>
          </permissions>
        </licenseToken>
      </resourceItemInfo>

    No real purpose.

  • What is this prompt? The required index.xml file is missing. "file" couldn't be opened.

    What is this prompt? The required index.xml file is missing. "file" couldn’t be opened.

    Helps if you tell us what version of Pages and something about the file.
    Probably you have 2 versions of Pages on your Mac.
    Pages 5 is in your Applications folder.
    Pages '09/'08 is in your Applications/iWork folder.
    You are alternately opening the wrong versions.
    Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
    Pages 5.01 can not open Pages 5.1 files and you will get the warning that you need a newer version.
    Pages 5 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
    Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
    Once opened and saved in Pages 5.1 files can not be opened in Pages 5.
    Anything that is saved to iCloud is also converted to Pages 5 files.
    All Pages files no matter what version and incompatibility have the same extension .pages.
    Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
    Apple has removed over 95 features from Pages 5 and added many bugs:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Archive/trash Pages 5, after exporting all Pages 5 files to Pages '09 or Word .docx, and rate/review it in the App Store, then get back to work.
    Peter

  • 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 targetNamespace in the WSDL file and what goes into it

    I am not sure how is targetNamespace useful in WSDL definition. Are there any rules for putting value into that attribute. My code generator works for any value.
    For example, Both the following code snippets work.
    <xsd:schema
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://www.microsoft.com/ShopWS">
    and
    <xsd:schema
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="foo">
    Then what is the use of having a 'targetNamespace' attribute.
    I am new to Web Services, plz help me understand this, even if what I am asking is very silly.
    Thanks.

    The targetnamespace is used define the namespace for the definitions made in your schema.
    For example,
    <xsd:schema
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="foo">
    <xsd:complexType name="fred">
    </xsd:complexType>
    Then "Fred" will be in the "foo" namespace
    And if you had another schema in your wsdl like
    <xsd:schema
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="bar">
    <xsd:complexType name="fred">
    </xsd:complexType>
    Then you would have two "fred" types one in the "foo" namespace and one in the "bar" namespace.
    Then later on in your WSDL you could refer to either one.

Maybe you are looking for