JAXB XML Binding tutorial - Marshalling UnMarshalling Java Object to XML
XML binding is a concept of generating Java objects from XML and opposite i.e. XML documents from Java object. Along with parsing XML documents using DOM and SAX parser, XML binding is a key concept to learn if you are working in a Java application which uses XML in any way e.g. for storing persistence data like user preferences or for transmitting messages between two systems etc. XML binding is also a popular XML Interview question in Java. JAXB and XMLBeans are two common ways to achieve XML binding in Java. XML binding, also known as XML marshaling and marshaling has two sides, first converting XML document to Java object, modify Java object and then converting back to an XML file. Once you have XML document as Java object, You can use the power of Java programming language to process and manipulate the XML elements, attributes etc. In last couple of Java XML tutorials, we have seen How to parse XML using DOM parser and How to evaluate XPATH expression in Java.
Comments
Post a Comment
-Berkomentarlah yang baik dan rapi.
-Menggunakan link aktif akan dihapus.