How to create XML file in Java using DOM

  • 11 July 2016
  • ADM

How to create XML file in Java using DOM. Simple example with pretty printing to output the content to console or to a file.


Apache Maven Basic Operations

  • 22 June 2016
  • ADM

Apache Maven Basic Operations contains short description on maven commands like, clean, package, install, deploy, mvn eclipse:eclipse


How to convert object to / from JSON using Jackson

  • 17 July 2017
  • ADM

How to convert Java object to / from JSON string using Jackson library. Simple example including embedded object.


How to convert object to / from JSON using Gson

  • 15 June 2016
  • ADM

How to convert Java object to / from JSON string using Gson library. Simple example including embedded object.


How to format XMLGregorianCalendar

  • 10 May 2016
  • ADM

How to format XMLGregorianCalendar object output using SimpleDateFormat class in Java. Simple tested example.


How to read and write JSON with json-simple

  • 21 April 2016
  • ADM

How to read and write JSON with json-simple library. Full example how to create an object, write it to a file, read it and use it.