Java Video Tutorial 46

JDOM2 Video TutorialToday I introduce the easiest way to read and write to XML files using Java. It is call the JDOM2 library.Β With it you’ll easily read any element, or attribute and create your own.

I introduce 10 libraries and show you numerous methods that will make your life easier in just 14 minutes!

All of the code follows the video to improve the learning process.

If you like videos like this, please tell Google [googleplusone]

Sharing is always appreciated [nttfblike]

Code from the Video

7 thoughts on “Java Video Tutorial 46”

  1. Hi,

    Very, very nice Tutorial. I did not know anything of that. But now I can write and read XML easily.
    One simple Question: When I want to write for example the country more than once (with different content), do I have to define a new Element or could I use the created one?

    answer at mail please πŸ™‚

    Best regards,
    Joel

    1. You’re very welcome πŸ™‚ You don’t need to create a separate element, but instead use the one that is already there. Experiment a bit and you’ll really get the concept

  2. Hi Derek, how it’s different from dom parsing ?? I feel there is no difference then why jdom ?? Can you throw some light on this ?

  3. Hi Derek, this is an off-topic question, but still I want to ask. In your videos I see how quickly you type/replace/fill in some things, I do know about ctrl+space combination, but do you use any other tricks? Or it is just you so dexterous ? πŸ™‚ And what do you think of making tutorial on that, if there’s any trick of course?

Leave a Reply

Your email address will not be published. Required fields are marked *