Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

NetBeans - using an XML as input instead of DB

  • 08-03-2011 6:32pm
    #1
    Registered Users, Registered Users 2 Posts: 7,918 ✭✭✭


    Hi,

    I'm new to using NetBeans. I am able to get a WebApplication up and running using a sample database and produce XML from it (RESTful web service).

    Now I'm looking to use an XML instead of the database. Is there a simple way of doing this? For the regular database I just right clicked
    -project name -> New -> RESTful web serice from Entity Class
    or
    -project name -> New -> Entity Class from database.

    Neither option allow for using an XML file.

    Any help appreciated.
    thanks.


Comments

  • Registered Users, Registered Users 2 Posts: 378 ✭✭sicruise


    You probably want to look into JAX-B for marshalling and unmarshalling XML. You can create an XSD to describe your data and generate classes or you can annotate your entities yourself.


Advertisement