What way xml used in J2EE

i am new to j2ee. i am confusing with why xml used in j2ee. i want a detailed explanation regarding this. if u had some helping documents please send to this id [email protected] .. i am waiting eagerly for the reply from all.
thanks in advance...
iam
senthil

Sorry, you aren't going to get a "detailed" explanation of such a vague question. And you aren't going to get any explanation from me because you asked for answers to be e-mailed to you. For all I know somebody has e-mailed you the answer already, so I could be wasting my time answering.

Similar Messages

  • There must be some intelligent way to use Oracle 9i XML capabilities here

    Hello all
    I have to perform what is essentially a simplification of an XML interface. There is a company, OurProvider, who do lots of clever stuff with XML, and have tens of interfaces, XSDs etc and many ways to skin a cat. My company is using them as a backbone/provider but is embarking on a consolidation and simplification of the services they provide. We've boiled it down to 2 interfaces and 1 report.
    Taking just one of the interfaces as an example:
    OurClient <-- xml --> Us <-- xml --> OurProviderI have the XSDs for both sides of this.
    When our client sends a file, I will transform it and add a unique transaction reference, then submit it to the provider
    By way of return file, the provider sends us XML of what was done
    Using the unique tx ref we submitted, we'll respond to the client
    Later we might get a report in XML of activity the provider has engaged in on our behalf and some of that our client will want to know, so there is another feed that is "report" style rather than "request response" style
    At the moment, I'm planning to receive the XML from the client, deserialize it in .net, insert it into a relational table (it's not a deeply nested or complex xml) having an oracle sequence provide the unique transaction reference. I'll then run a query to select the contents back into .net dataset constructed so that when I serialize it, it forms XML valid for the provider and then I can send it off.
    On the return, I will deser the provider XML, look up the txn ref, look up the source record data from the client and append more info to it (sometimes jsut a result, but we return to them most of what they submit as confirmation), including THEIR ref
    I'm just wondering if there is a more intelligent way of doing this? Maybe like having a table that has a column triggered to get an autonumber, and to be able to say to oracle "here's an xml document, store it into that table so that each node under the root becomes one row, then give me a document back after having applied this transform, and with the sequence number in the xml"
    Example, the client presents:
    <fruits>
      <fruit>apple</fruit>
      <fruit>pear</fruit>
    </fruits>
    The table could be:
    id, xmltype
    0, <fruit>apple</fruit>
    1, <fruit>pear</fruit>
    The provider wants:
    <menu>
      <desserts>
        <dessert>
          <id>0</id>
          <name>apple</name>
        </dessert>
        <dessert>
          <id>1</id>
          <name>pear</name>
        </dessert>
      </desserts>
    </menu>Any suggestions welcome!
    Thanks
    CJ
    Edited by: charred on Aug 7, 2009 10:03 AM

    I would suggets using XSLT. With XSLT you can apply a transformation to the original xmldocument. For your example it would look something like this:
    DECLARE
    newxml sys.xmltype;
    sourcexml sys.xmltype;
    xsltsrc sys.xmltype;
    reslt VARCHAR2(4000);
    BEGIN
    newxml := xmltype('<fruits>
      <fruit>apple</fruit>
      <fruit>pear</fruit>
    </fruits>
    xsltsrc := xmltype.createxml('<?xml version="1.0" ?>
                                 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
                                 <xsl:template match="/">
                                       <menu>
                                         <xsl:apply-templates/>
                                       </menu>
                                 </xsl:template>
                                 <xsl:template match="fruits">
                                       <desserts>
                                         <xsl:apply-templates/>
                                       </desserts>
                                 </xsl:template>
                                 <xsl:template match="fruit">
                                       <dessert>
                                           <xsl:choose>
                                            <xsl:when test="text() = ''apple''">
                                               <id>0</id>
                                             </xsl:when>
                                             <xsl:when test="text() = ''pear''">
                                               <id>1</id>
                                             </xsl:when>
                                             <xsl:otherwise>
                                              <id>-1</id>
                                             </xsl:otherwise>
                                           </xsl:choose>
                                         <name>
                                            <xsl:apply-templates/>
                                         </name>
                                       </dessert>
                                 </xsl:template>
                                 </xsl:stylesheet>');          
    sourcexml := newxml.transform(xsltsrc);
    reslt := sourcexml.getstringval(); -- print the result
    dbms_output.put_line(substr(reslt, 1, 255));
    END;

  • What is the correct way to use Version Informatio​n from the sequence and from the deployment tool

    I seem to be missing something in how the various version numbers are supposed to be used.    My end goal is to log and possibly display in the UI the version of the sequence and which installer version was used to inspect a UUT.   I have gotten most of the way there using:
     How Can I Programmatically Query the Sequence File Version of My TestStand Sequence? 
    and logging this into the report with a function which contains:
    Parameters.UUT.AdditionalData.SetValString("Test Version",1,RunState.SequenceFile.Data.Version),
    Parameters.UUT.AdditionalData.SetFlags("",0,PropFl​ags_IncludeInReport)
    The "Deployment Version" in the TestStand Deployment Utility auto incrementing the 3rd position of a version number  while the sequence auto increment is working on the 4th.   
    My first question is are these 2 version numbers in anyway supposed to be related to each other?   As it seems to me you would want those 2 reversed, I can make several installers based on sequence version X, making changes to what supporting files are also installed.
    If they are not related as I suspect that they are not.  How do I programatically grabed the installer version and also log that into the result report?   
    is there an option to perform a custom deployment build step to log the deployment version before it builds and then reference that log at runtime of the test?

    Hi,
    The sequence file version and deployment versions are not related.
    You can build the installer with whatever version you want using the command line :
    https://decibel.ni.com/content/docs/DOC-38947
    Hope this helps,
    Ravi

  • HT3819 I have 2 Ipod touch's, one a 64gb and one an 8gb.  Whats the best way to use them both on the same itunes account?

    I have 2 Ipod touch's, one a 64gb and one an 8gb.  Whats the best way to use them both on the same itunes account?

    Click here for options.
    (64410)

  • What's is the best way to use iPhoto? I need to understand.

    What's is the best way to use iPhoto? I need to understand.
    I guess the iPhoto is only for people with 5,000 of personal photos.
    Or even 200,000, but they can't use this app everyday.
    I'm not talk about working as a photographer. They use Aperture.
    They may use iPhoto like a family album that you take a look sometimes.
    And don't care about putting photos from the camera or from internet everyday.
    I have tons of music and I love iTunes 8, works great. So I tried but I can't stand iPhoto anymore.
    I have over 173,000 photos. My goal is organize, have total control, crop in Preview and delete them fast as I can.
    The iPhoto is too slow. And is not only about performance, more RAM... but the whole concept.
    Finder is much better/richer/flexible to organize than iPhoto.
    I'm not talking about the photographer workflow.
    And I'm not talking about editing and all these great photo features, the search, and all the iLife environment. They are amazing.
    When I'm iPhoto, I feel like a prisioner.
    I can't open an album/folder/event alone just to take a look, without do lanch the iPhoto app with the all thousand photos together. And it's slow.
    I can't use Quick Look there.
    So, I'll use Finder for manage/crop/etc. But what's the best way to use iPhoto in my case? Put the best/key ones there to use in iLife/MobileMe? To do a more serious editing? I like the features: keywords/ratings/hidden photos/events... It would be cool this features in Finder.
    For example:
    iMovie: Manage movies? NO. It's editng only.
    iTunes: Manage music/small video/podcast...? OK. Editing the song? OK for tags/convert/artwork/equalizer... For music there's a GarageBand of course.
    iPhoto: Manage photos? Yes and No.
    I think Finder would kill iPhoto incoporating all the editing features in Preview and the rich manage in Finder.
    Jobs said that no one care about iDVD anymore. They care about the web.
    Using iMovie to export to MobileMe.
    Maybe iPhoto become less important in a near future. With a better Finder+Preview Right?
    Sorry for this long text with a short question.
    Thanks.

    Your post demonstrates exactly why I keep saying that iPhoto is not the application for you.
    It would be better an iPhoto organizing photos by words like when iTunes browse his music.
    Why on earth would anyone want to organise photos by words? A list mode is entirely pointless in a Photo application. That's like having an old photo album organised with the photos facing inwards so you can read the back of the picture.
    Again, this is a characteristic of a File browser. You don't want a Photo organiser, you want a file organiser.
    And, in iPhoto, you can search by tags, effortlessly in either the search box or by using a Smart Album.
    iPhoto always loads all that events and all the thumbs library to scroll, and I think it's overkill.
    So, how is iPhoto to know which ones you want to work with today? Open a library, get the Library.
    Would be better a Cover Flow option to browsing in Events.
    You've obviously never tried scrubbing along the Event icon.
    Imagine iTunes using Cover Flow mode all the time. It won't be too useful.
    Many, many people do, including myself on a library of 20k tracks totalling more that 100 gigs, and find it very useful. Same with the Finder.
    And if when iTunes Store starts to sell photos?
    Why on earth would the iTunes store start to sell photos?
    My photos are not junk,
    I didn't say there were. Read my post again.
    When I said Finder to crop photos I mean Preview. But I feel in Finder. Because what's in Preview? A photo opened with a Preview's menubar and some cocoa APIs like adjustments. Not?
    Oh, so you don't count Preview as an application. Fine. It is an application but you don't feel it. As you wish.
    My point to you is very simple: Because of the way you want to organise your pics - using lists views and so on - iPhoto is not the application for you. Don't use it. But you keep writing things about the application that are untrue, and I'm aware that other folks search these forums and I don't want them to have inaccurate information about iPhoto.
    Regards
    TD

  • Is there a way to see what font was used originally, after the type has been converted to outlines?

    Hi all, I would really like to know if there is any way to find out what font was used originally in an Illustrator document, after the type has been converted to outlines? The reason for this is I need to update some wording in a couple of old logos I had made and I have NO idea what font I had used...for the life of me I just cannot remember. Because this was so urgent for one of my projects I had to do a search online via "WhatTheFont" to see what font it could be (which I then didn't seem to have in my library!), and repurchase it. I am 99% sure I HAVE the font - or something VERY close - but under a different name.
    Normally I keep a much better record of fonts used but there have been times occasionally in the past when I have done something in a hurry and changed the type to outlines without keeping the original, or keeping detailed notes at least. The fact that I did NOT keep notes on a few projects I have done in the past has made me want to kick myself because now I need to revisit one of those again..grrr:)
    Can anyone offer any advice? I appreciate your help as always:)
    best,
    Christine

    Christine,
    You can also ask in the Typography forum,
    http://forums.adobe.com/community/design_development/typography?view=discussions&start=0
    The guy running whatfontis is a regular poster there.
    And apart from
    http://www.whatfontis.com/
    there are
    http://www.identifont.com/
    http://new.myfonts.com/WhatTheFont/
    and especially for script,
    http://www.bowfinprintworks.com/ScriptIDGuide.html

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

  • Does Adobe Reader for iOS have the ability to open inbedded links to additional PDF docs?  If not, then what would be the best way to use these already created PDF's?

    Does Adobe Reader for iOS have the ability to open inbedded links created with Acrobat Standard to additional PDF docs?  If not, then what would be the best way to use these already created PDF's on an I Pad?

    driddy61,
    As of June 2014, none of the Adobe Reader mobile products support the hyperlink action for opening a separate PDF document.
    Adobe Reader for iOS
    Adobe Reader for Android
    Adobe Reader Touch for Windows 8
    In addition, the Reader mobile products do not open multiple windows/documents simultaneously, which would make the navigation between PDF documents nearly impossible. (Once a hyperlink takes you to a different PDF document, you have no way to go back to the original PDF document.)
    The only Adobe Reader product that fulfills your department's requirements is Adobe Reader XI (mostly for Windows/Mac desktop/laptop computers).  Acrobat Pro and Standard are paid products.
    Because you are in search of a less expensive device for your department, you could get a Windows tablet instead of a Windows desktop/laptop computer. Microsoft Surface Pro (that you've mentioned in your previous reply) is just one example.  You can also find other less expensive Windows tablets.
    Tablets
    However, please keep in mind that there are two different types of Windows tablets running two different operating systems.
    (a) A Windows tablet with an Intel-based processor running Windows 8.1 Pro
    Example: Surface Pro 3
    You can install and run traditional desktop apps (e.g. Adobe Reader XI) and new Windows Store apps ("Modern" or "Metro-style" apps).
    (b) A Windows tablet with an ARM-based processor running Windows RT 8.1
    Example: Surface 2
    You can only install and run Windows Store apps (e.g. Adobe Reader Touch) but not traditional desktop apps like Adobe Reader XI.
    In general, type (b) tablets are more affordable than type (a) tablets.  However, if you want to run Adobe Reader XI, you do need to check the technical specification of each tablet and make sure the following conditions are met.
    Processor: Intel
    Operating system:  Windows 8/8.1 or Windows 8/8.1 Pro, not RT
    Hope this helps you choose the right device for your department.  Please let us know if you have any questions about system requirements or supported features in the Adobe Reader products.

  • What is the best way to use a cellular enabled iPad in France?

    What is the best way to use a cellular enabled iPad in France?

    Frankly, I expect a bit more courtesy and details from someone wanting help from fellow users.
    Don't use your AT&T SIM/plan out of the country for the iPad.
    Just purchase a SIM in France for about 15 euros and use that.
    -> http://www.tripadvisor.com/ShowTopic-g187070-i12-k4781004-o30-Prepaid_French_3G_ micro_SIM_for_iPad_it_s_not_a_problem-France.html

  • Is there a way to see what applications is using my mobile account for internet instead of using BIS?

    HI
    Is there a way or a app to download to see what applications is using my mobile account/airtime instead of using the BIS service? The reason for asking is that my airtime is being used on its own, without my knowledge. Please assist.

    so if we do have the same apple id is it possible to delete if from any of the other devices or any where I can just unactivate them from my apple id account to where it would delete the message if they happened to get it?

  • What's the best way to use your iPad instead of textbooks?

    What's the best way to use your iPad instead of textbooks? I'm about to start a BSN program and have heard of using your iPad for textbooks instead of buying and carrying around 8 different books. Is there an app for that? Or do you buy or rent the books? What's the best solution?

    Or, if you're like me and you want to do a lot of heavy reading, use the iPad because the low contrast on a Kindle is extremely fatiguing.  
    Seriously, though "screen glare will cause eye strain" is often taken as an article of faith, there's not a lot of good scientific evidence for it. "Eye strain" can be caused by concentrating on any close work for long periods of time. Looking up and focusing on something distant periodically is very helpful. Older CRT screens that flicker also can be aggravting. I'm not denying that some people find reading backlit screens uncomfortable. However, it's not dangerous. And, then, there are other people who find the higher contrast a backlit screen affords to be much less wearying over long periods of time.

  • What is the best  way for using a  C++ in the EJB?

    What is the best way for using C++ in the EJB ie
    either 1. Socket programming
    2. JNI

    To what purpose?
    To use C++ in the client you could generate IDL from your remote interfaces and run that through your vendor's IDL-to-C++ processor.

  • Best way to Transform one XML to another XML using SSIS

    I am using Altova Mapforce tool to transform one XML into another XML, but now we are planning to use any other best way of using XSLT transformation. Could you guys shed me some light on different approaches and which one would be best based on time and
    cost constraint.
    In Altova Map force Tool, due to below reasons we wanted to avoid that,
    Resource cannot work parallely in single XSLT
    Maintanence is very difficult
    Licensed version of tool
    When the XML size grows, new resourse are feeling difficult to edit the XSLT etc.,
    Related to .net approaches would be best.
    Can we create XSLT by using SSIS to transfrom one xml into another xml format.
    In .net code we can do, but feel that it is time consuming due to large size of XML.
    Any other best way for handling XSLT transformation or any tool

    XSLT can be applied to an XML file fed as a source, but it does not resolve #1. I by the way do not understand this point, technically.
    For SSIS to go live in prod you need to deplete a SQL Server license (CPU + CALs).
    The time to transform in SSIS will be equal to doing in .net code as the whole SSIS is coded in .Net, too.
    Here, in this section of the forum we may not have the needed expertise in XSLT or XML transformations.
    In my IT life, XML transformations were done in Java if on a *NIX box. On Windows a C# .net app webservice did it. The most interesting implementation, and if you are a heavy users of XML is to use a dedicated database as Base X, it has an XLSLT transform
    moduleL http://docs.basex.org/wiki/XSLT_Module
    Arthur
    MyBlog
    Twitter

  • 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 wrong with Firefox ---It will not pull up anything the way it used to --having to use exployer instead ---Help

    What is wrong with Firefox ---It will not pull up anything the way it used to --having to use exployer instead ---Help
    The catalog of our University will not pull up properly on Firefox but will on internet exployer Why?

    The #rdn# is a url variable that is pass to this form from
    another page. I put it in a hidden filed and originallly used it as
    from.rdn. That did not make a difference, so I just used rdn.
    The cfoutput to display the rdn, partnumberid,
    deliverynumber, totalrows, and row, all display properly. I even
    use those in the query anlayzer and the update works.
    I will remove the crparam and see if that makes any
    difference. This is very frustrating since there are no error
    messages and I am led to believe the code works.

Maybe you are looking for