XML for desktop applications, how to?

yes, this is what I need. I read alot about many kinds of APIs. I became confused of what to use and why. All what I need is this:-
I'm building a desktop application (Swing), it's like a phone book. a small database of contacts (name, address, and phone number). but I want to use XML files to serve as database files and store the lists.
what classes should I use? and if you have an overall idea of how to do it I'll be glad to have it.
thanx in advance :)

Look at the JDom, SAX and DOM API, Dom4J, XOM, Commons Digester and a few other libraries. They should help.
Additionally, get a copy of Bret McLaughlin's Java and XML form O'Rielly. It's a great book and should show you how to do what you want...
Mike

Similar Messages

  • I have flash professional cc and I need air for desktop application with .exe or .air that should contain all swf's and captive air runtime in one Installer only . I don't want to install separate adobe air runtime .

    I need Air for desktop application either in .exe or in .air with embedded captive runtime just like .apk . I don't want to install adobe air separate . everything should come in installer
    I have adobe flash professional cc development tool , let me know whether I have to go with other development tool???
    your reply will  increase my confidential level
    please anyone can help me to solve this problem
    Thanks&regards
    Niranjan

    Adobe Flash Professional CC manual
    1) Create new project
    2) Configure your Project properties
    3) Embed runtime, so you users can use Adobe AIR without pre-installed Adobe AIR runtime
    4) After publishing you will receive %APP_NAME%.app folder that contain your project files

  • Java or C++ for desktop applications

    Help needed!
    We are a team of 5 programmers in a state agency who deal with federal contracts. About 70% of the applications we build are desktop applications. One of the team members strongly believes that learning C++ instead of Java would strengthen our positions. He strongly believes that Java is not cut out for desktop applications and Java is ideal only for web applications. None of us are very familiar with C++ and so we are intending to take classes in C++. (We are all Visual Foxpro, VB group currently). I have one year of programming with Java (web applications) I still don't want to give up on Java that easily. Well my question is - Is that member in the team right in saying that Java is for web and not for desk top. Can any expert give me a good comparison and so we can move on the right track.
    Thanks for the help in advance!
    suman

    Java can work fine for a desktop application, don't listen to him. Here's what you've got to consider:
    1. Tool set: One strength of java is its strong set of standardized tools. You can probably find great sets of C++ tools too, though, but this is a major factor.
    2. Speed of development: This depends somewhat on the strength and maturity of the toolset you are using, but in general, I think that java is faster to develop for 3 reasons: (1) because it smoothes over some of the inconsistancies between systems - you don't have to get as involved in the gritty details. (2) Java can often tell you exactly what line number your program is bombing, and in every case, it will give you a specific message about what kind of error you had (nullpointer, array out of bounds, etc vs 'Syntax Error') (3) Garbage collection
    3. Familiarity with language: Obviously if you've got to learn something new, that takes time.
    4. App performance: Java is probably going to be bigger, in terms of what has to be installed on the machine in order to run your app, and marginally slower than C++. It will almost certainly require a lot more memory to run well. Before you freak out about it being slower than C++ though, you should consider what kind of performance your app needs. If it's doing 3D rendering, C++ is probably going to be better. If most of it is UI components, and the back end processing is not that intensive, Java could be what you want

  • I seek a java forms builder for desktop applications

    can any body help me find a forms builder for desktop applications using Swing?
    i know Oracle Forms developer, but i think it is restricted to JSP projects only .. isn't it?

    Any IDE with a GUI builder will do. Not that I actually advice to create GUIs (I guess this is what you mean by form) with tools... but if you want to, that's the way. The editor of JBuilder is said to be quite good.

  • How to export the report in HTML format for desktop application

    Hi,
    i have wrote the JRC desktop application to export the report and i am able to export it in PDF and other formats as mentioned in "ReportExportFormat" API.
    i would like to know is there any API there which can export the report in HTML format.
    i know it would be possible with web based application of JRC, but how can i do it in desktop application?

    There's no mechanism for static HTML pages that displays the report.
    You can use the CrystalReportViewer DHTML viewer, but that's 'interactive'.
    Sincerely,
    Ted Ueda

  • Access to local file system for desktop application

    As a .NET and VBA developer/user, I have found Flash to be a
    great RAD development solution for certain desktop app. projects...
    if only actionscript could access the local file system and talk to
    local (preferably non-XML) data-sources!
    I'm not familiar with the latest version of Flash CS3 &
    Actionscript 3.0
    Is there any reliable way Flash CS3 can be programmed to access
    the user's local file system - that is, as a stand-alone desktop
    application????

    Thanks for the response.
    I hope Adobe catches a clue ... with Microsoft's Windows
    Presentation Framework and the new ability of easily implementing
    Flash-like animation on .NET apps, Adobe is going to have to get
    busy. Stand-alone desktop apps still rule (as opposed to web-based)
    in the business world, and they are driven by data. If Flash was
    capable of easily talking to local data-sources (Access, Excel,
    Text etc.), it could significantly increase its adoption as a
    widely used business RAD tool. The Flash IDE is great and rivals
    any Microsoft RAD IDE + users love the slick Flash GUIs.

  • Looking for some help in creating dynamic rdlc report for Desktop Application

    Hello ,
     I currently have the syncfusion reportviewer running in my desktop application, now what I am looking to do is create a report where my users, can select and deselect what columns and Items they want to print out. Is there any way to do this ?
    Thanks
    David.

    Hi David,
    We can integrate Syncfusion with LightSwitch application, if you want to customize column when create a report using syncfusion reportviewer, since I didn't try this third party
    extension before, I think you could consider getting help from
    syncfusion forum, more syncfusion experts can help you on this issue.
    Thanks for your understanding.
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Flash Desktop Application - how to update?

    Hi all,
    I'm trying to put together a flash desktop application. I
    want it show each of my .swf's i created, per month ( i.e. january
    month plays 1.swf, february plays 2.swf, march plays 3.swf etc.)
    how can i code the flash to update automatically or would i
    have to use some external codes to accomplish this?
    is it even possible to update if it's a desktop application?
    any help would be greatly appreciated :)
    thanks !

    quote:
    Another question - what program are you using to publish the
    file as a standalone application that users can download? It seems
    that publishing the flash file as a projector (.exe) file only
    makes it open in flash player
    was that a dumb question?
    I'm using Flash 8. As long as the user has Flash installed in
    their browser than using the .exe file on the computer has no
    issues. I believe that the reason the .exe file is larger than the
    .swf is that it contains the necessary information to run the .exe
    file whether Flash is installed on the computer or not. I haven't
    tested that out yet though.
    Adobe's Air actually allows you to install the application. I
    haven't been able to play with that as of yet, but I have seen some
    people using it and a demo of it.
    *Edit*
    I just tested the application I have out on a computer
    without Flash on it, and it worked fine. So, the reason the .exe
    files are so large is because they contain all the requirements to
    run a Flash app.

  • Air desktop application: how to make a menu item bold?

    Hi, I'm using Flash CS6 to develop an AIR desktop application for OSX. I've created my menu using NativeMenu and such, but I can't find a way to make the first menu item bold, like a true OSX app. So far the little I've found on this always referred to Flex, not Flash. Any hints?
    Thank you.

    Thank you, kglad.
    I think I forgot to mention I'm building an Application Menu. The NativeMenu contains NativeMenuItems and there is no format property or method that I can see. Also, the name the menu item displays is its label property, which you can set, but it's a string, and I believe the htmlText applies to textfields, right?

  • Services-config.xml for AIR application

    Hello,
    I am relatively new to flex. I am primarily a .net developer. I want to know how can I make a sample applicaion which uses services-config.xml
    Is there a tutorial which can help me...
    Any help is appriciated on this.
    Regards,
    Pavas

    The information in the compiled swf needs to match the information used at
    server runtime. It basically uses the endpoint URL and perhaps a few other
    tidbits from the config.
    We have tokens in the URL for server, port and context root, which help the
    'portability' of the swf, but if you change the MessageBroker servlet
    mapping for instance, this will probably break the swf.
    You *can* however, control the endpoint used by the client by using
    Actionscript APIs (see the docs), but you still of course have to code that
    in to the compiled application unless you prompt the user for that info.
    Does that help?
    Tom Jordahl
    Adobe

  • Errors when running Windows App Certification Kit for desktop application

    Hi,
    I ran the tool over our application and there was only one area in which it failed. However, all the files it mentions in the log are files that were created by the tool itself!
    The errors are included below.
    Can you please advise how I should proceed?
    Attack surface analyzer
    Error Found: The attack surface analyzer test detected the following errors:
                Weak ACL on C:\Temp\Default\MacroView.DMF.LocalService.exe\MacroView.DMF.LocalService.XmlSerializers, Version=7.8.2005.0, Culture=neutral, PublicKeyToken=6f7d66a3bb7de652.HTM allows tampering
    by multiple non-administrator accounts.          
    File: C:\Temp\Default\MacroView.DMF.LocalService.exe\MacroView.DMF.LocalService.XmlSerializers, Version=7.8.2005.0, Culture=neutral, PublicKeyToken=6f7d66a3bb7de652.HTM Writable by:  Authenticated Users Rights: FILE_WRITE_ATTRIBUTES, FILE_WRITE_EA,
    FILE_APPEND_DATA, FILE_WRITE_DATA
                The folder C:\Temp\Default\te.processhost.exe contains files and/or folders with ACLs that allow tampering by multiple non-administrator accounts.          
    Folder: C:\Temp\Default\te.processhost.exe     Contents with bad ACLs:  1. C:\Temp\Default\te.processhost.exe\WhereRefBind!Host=(LocalMachine)!FileName=(appxman.dll).HTM 2. C:\Temp\Default\te.processhost.exe\WhereRefBind!Host=(LocalMachine)!FileName=(binaryinfo.dll).HTM
    3. C:\Temp\Default\te.processhost.exe\WhereRefBind!Host=(LocalMachine)!FileName=(certcom.dll).HTM 4. C:\Temp\Default\te.processhost.exe\WhereRefBind!Host=(LocalMachine)!FileName=(compresslib.dll).HTM 5. C:\Temp\Default\te.processhost.exe\WhereRefBind!Host=(LocalMachine)!FileName=(CoreLibrary.dll).HTM
    6. C:\Temp\Default\te.processhost.exe\WhereRefBind!Host=(LocalMachine)!FileName=(filetrace.dll).HTM 7. C:\Temp\Default\te.processhost.exe\WhereRefBind!Host=(LocalMachine)!FileName=(microsoft.windows.softwarelogo.appxmanifestresourcesvalidation.tests.dll).HTM
    8. C:\Temp\Default\te.processhost.exe\WhereRefBind!Host=(LocalMachine)!FileName=(microsoft.windows.softwarelogo.direct3d.tests.dll).HTM 9. C:\Temp\Default\te.processhost.exe\WhereRefBind!Host=(LocalMachine)!FileName=(microsoft.windows.softwarelogo.metadatavalidation.tests.dll).HTM
    10. C:\Temp\Default\te.processhost.exe\WhereRefBind!Host=(LocalMachine)!FileName=(msdia100.dll).HTM 11. C:\Temp\Default\te.processhost.exe\WhereRefBind!Host=(LocalMachine)!FileName=(msvcp110.dll).HTM 12. C:\Temp\Default\te.processhost.exe\WhereRefBind!Host=(LocalMachine)!FileName=(msvcr110.dll).HTM
    13. C:\Temp\Default\te.processhost.exe\WhereRefBind!Host=(LocalMachine)!FileName=(perf_exporter.dll).HTM 14. C:\Temp\Default\te.processhost.exe\WhereRefBind!Host=(LocalMachine)!FileName=(prchauto.dll).HTM 15. C:\Temp\Default\te.processhost.exe\WhereRefBind!Host=(LocalMachine)!FileName=(symsrv.dll).HTM
    16. C:\Temp\Default\te.processhost.exe\WhereRefBind!Host=(LocalMachine)!FileName=(wamv.dll).HTM 17. C:\Temp\Default\te.processhost.exe\WhereRefBind!Host=(LocalMachine)!FileName=(WindowsTasks.dll).HTM Writable by:  Authenticated Users Rights: FILE_WRITE_ATTRIBUTES,
    FILE_WRITE_EA, FILE_APPEND_DATA, FILE_WRITE_DATA
                The folder C:\Temp\NativeImage\te.processhost.exe contains files and/or folders with ACLs that allow tampering by multiple non-administrator accounts.          
    Folder: C:\Temp\NativeImage\te.processhost.exe     Contents with bad ACLs:  1. C:\Temp\NativeImage\te.processhost.exe\System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.HTM 2. C:\Temp\NativeImage\te.processhost.exe\System.Drawing,
    Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.HTM 3. C:\Temp\NativeImage\te.processhost.exe\System.ServiceProcess, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.HTM 4. C:\Temp\NativeImage\te.processhost.exe\System.Web.Services,
    Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.HTM 5. C:\Temp\NativeImage\te.processhost.exe\System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.HTM Writable by:  Authenticated Users Rights: FILE_WRITE_ATTRIBUTES,
    FILE_WRITE_EA, FILE_APPEND_DATA, FILE_WRITE_DATA
    http://www.sharepointblogs.com/aaronrh

    Please try setting the Platform(s) to "ARM" or "Neutral". Currently it's set to "Mixed Platform", and the inner Platforms are set to "Any CPU".
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • Smart card development for desktop applications

    I'm totally new to smart cards and would like to get learn some about it. I'd like to build programs which have simple interaction with a smart card for storing information there and light processing.
    I thought about buying Gemplus 430USB reader.
    Could someone suggest a java card for me?
    P.S.
    How hard (if at all) is it to build the most simple application and install it on a smart card?

    I'm totally new to smart cards and would like to get
    learn some about it. I'd like to build programs which
    have simple interaction with a smart card for storing
    information there and light processing.
    I thought about buying Gemplus 430USB reader.I don't know this reader, just make sure it's PC/SC compliant. You shouldn't have to spend more then $20 on a reader that you can develope with. The American Express Blue or Visa readers would do fine(I use the Amex Blue) and they are free if you get the credit card(at least in the United States).
    Could someone suggest a java card for me?I use IBM's JCOP10. It's IBM's low cost JavaCard.
    You can probably purchase one from my company
    www.orga.com
    >
    P.S.
    How hard (if at all) is it to build the most simple
    application and install it on a smart card?Depends on your programming ability.

  • SSO for JDeveloper application -- how?

    Hello,
    I am developing a servlet with JDeveloper & Struts, and I am curious whether it is possible to configure SSO and JDeveloper so that when I DEBUG the project and the embedded OC4J server starts, my application gets protected by the Single-Sign-On. That is, when I access http://<server>:8988/MYApplication/request.do?<params>, the SSO login page shows up, and after I type in correct login and pwd, my original page gets called again, only with the SSO cookie set this time.
    I have all the things set up (infrastructure etc), and I guess if I go and deploy my application into Apache web folders, things should work -- but is there a way to do this with embedded OC4J server -- with its ports, etc?
    Thank you very much,
    Sasha.

    Krrish,
    For enabling security for your ADF application in JDeveloper use ADF Security wizard. Read this:
    http://www.oracle.com/technology/products/jdev/howtos/1013/adfsecurity/adfsecurity_10132.html
    You should set up your identity management with the application server.
    (App Server Console->Administration->Identity Management)
    You should set the identity management as the security provider of the ADF Application.
    (App Server Console->Your Application->Security Provider)
    You should have installed your APP Server in advanced mode.
    You have to enable SSO for application server and define the ADF application as a partner application:
    http://download-uk.oracle.com/docs/cd/B32110_01/web.1013/b28957/configldap.htm#BEHCGHHF
    see Configure SSO (Optional) section.
    Despite that, I myself have had problem making this work. I am using Identity Management 10.1.4.
    Regards
    Farbod

  • Using XML for Live Data- How do you get the XML file to pull data from another xls file?

    Post Author: joseph_atkinson
    CA Forum: Xcelsius and Live Office
    I was wondering you can help me.
    I am currently receiving an *.xls reports on a daily basis (same report, same format, different data). I have put this report into Crystal Xcelcius Designer 4.5 Professional version and created the dashboard I want.
    I am aware of the xml mapping functionality where I can map from the *.swf straight to a database. However, is it possible to map to an xls file that will change on a daily basis? (obviously I can you the refresh button in Designer, but I need to automate this process).
    Your help really would be appreciated.
    Joe

    In Firefox, I'm seeing a bad icon for your zip files. I can
    download it,
    but it looks like something might be amiss with your zip
    files
    themselves.
    Al Sparber - PVII
    http://www.projectseven.com
    Popup Menus | Image Galleries | CSS Tutorials & Templates
    Newsgroup: news://forums.projectseven.com/pviiwebdev/
    CSS Newsgroup: news://forums.projectseven.com/css/
    DW Newsgroup: news://forums.projectseven.com/dreamweaver/
    "Conjurer" <[email protected]> wrote in message
    news:e8upg1$kee$[email protected]..
    > Conjurer wrote:
    >> Boy - I thought this was as simple as creating an
    <a> tag link to the
    >> file like you do with Word docs and Excel xls files.
    So I wrote my
    >> link as follows:
    >>
    >> <li><a
    href="OMGMASalSvy/Survey.zip">2006 Adminsistrators
    >> Survey.zip</a></li>
    >>
    >> But when I click on it I get a big nothing!
    >>
    >> I put the files out there on the host and the
    Word/Excel links all
    >> work great.
    >>
    >> Is there some secret magic to this one?
    >>
    >> My page links are at:
    http://www.omgma.com/surveyforms.htm#Documents
    >>
    >> Thanks for any help.
    >
    >
    > I guess it is working in IE but not in Firefox.... hmmm

  • How can i write the code in xml publisher desktop

    hi all
    How and where can i write the code in xml publisher desktop ???
    shall i know how to write xml code or what ??
    in which part can i write the code if i have more than one query ?

    hi dear
    Thanks for ur replay...
    What i mean is : i used to work on reports builder,so :
    1- i used to create more than query in some reports.
    2- create formulas ,procedures....
    NOW i want to create the same reports by using xml publisher desktop, so how can i do that...
    when i use {color:#ff0000}report wizard{color}, i can not or i don`t know how to use more than one query, create formulas or procedures.
    Please help me.
    Thanks again.

Maybe you are looking for