This example demonstrate nested object meaning that , one container class which hold reference of another class. Let say , container class is Employee which hold reference of Address or list of Address , then how you bind in JAXB 2.0.
Continue reading JAXB: Example of Nested List of XML Element
Well, in this post I tried to explain different type of Annotations used in JAXB API the annotation as: @XmlRootElement, @XmlType, @XmLElementWrapper, @XmlAttribute, @XmlAccessorType @XmlJavaTypeAdapter
Continue reading Annotation in JAXB
This is simple example with minimum annotation to understand JAXB 2.0, or you can say its hello word type of example. If don know what is JAXB 2.0 and you wanted to know, you can read our another post i.e. What is JAXB 2.0 There is no any dependency to run or compile the code. All the libraries are inbuilt in J2SE.
Continue reading Step by step Example of JAXB 2.0
JAXB stands for Java Architecture for XML Binding. By using JAXB and its
annotation you can do two following things, in fact your intent is very clear to do the following things.
- convert Java object to XML
- XML to Java Object.
Well, here, I’m going to demonstrate how to create a simple Java Web Project using Maven. This is simple web project, so going to add nothing apart from generated files.
Continue reading How to create a Web Project using Maven