JAXB XmlAdapter HashMap Example
How to unmarshal and marshal JAXB XMLAdapter HashMap example in Java using @XmlJavaTypeAdapter, where key is a string and value is a java object.
Java JEE related post, Java tutorial, Java Threading, Java collection, Java data structure, basic of Java, Java dates, Java loop
How to unmarshal and marshal JAXB XMLAdapter HashMap example in Java using @XmlJavaTypeAdapter, where key is a string and value is a java object.
Learn different aspect of JAXB Example with XML Namespace. Different configuration for XML namespace. How do you marshal and un-marshal in case of XML namespace.
Learn JAXB Example of Nested List of XML Element. Nested object, one container class holds a reference to another class. Let say, container class is Employee which holds the reference of Address or list of Address, then how you bind in JAXB 2.0.
JAXB annotations in Java is a way of notifying JVM to do on behalf of developer. different type of Annotations used in JAXB API the annotation as @XmlRootElement, @XmlType, @XmLElementWrapper, @XmlAttribute, @XmlAccessorType @XmlJavaTypeAdapter
Learn step-by-step JAXB example Java. Minimum annotation to understand JAXB 2.0 for new learner, hello word JAXB example first JAXB example.
What is JAXB in Java? JAXB: Java Architecture for XML Binding to convert java object to XML and XML to java object. Learn Features of JAXB, advantages of JAXB.
Learn sorting of Array in Java using java.util.Arrays class. Sorting of Object array, sorting of String array, sorting of int array, sorting of double array etc.
Learn Comparable vs Comparator in Java. Both java.lang.Comparable and java.util.Comparator are used to sort the list of Java custom objects in natural and custom sorting respectively.
Learn how to sort objects using comparator in Java. Example of sorting on Java.util.Date, String, integer property on asc and desc order. There are different approach to sort a list of object or List of Custom object in java.
Learn how to sort list of objects using comparable in Java, step by step example of sorting using comaprable, why sorting required, use case of sorting, etc.