How to read XML file in Java using DOM
How to read XML file in Java using DOM. 2 methods: one reading each element by the name and second parsing the entire DOMobject.
How to create XML file in Java using DOM
How to create XML file in Java using DOM. Simple example with pretty printing to output the content to console or to a file.
How to define one-to-one relationship in MySQL
How to define one-to-one relationship in MySQL using the foreign key and unique property to limit the row count from the child table
Java Exceptions handling
How to handle exceptions in Java. Checked and unchecked exceptions example using custom implementation.
How to convert object to / from JSON using Jackson
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
How to convert Java object to / from JSON string using Gson library. Simple example including embedded object.
Search
Other Posts
Follow Us On