Blog Archives

Java and JAXB Tutorial – Marshaling

This blog posts extends Java and JAXB tutorial: Unmarshalling.

Q. Can you create your Java objects from XSDs?
A. …

Read more ›



Java and JAXB tutorial – unmarshalling

Q. What does JAXB stand for? What is an XML Binding?
A. JAXB means Java API for Xml Binding. …

Read more ›



Java and XML tutorial with DOM Parser

Q. What is a DOM parser, and when will you use it? A. The Java DOM API for XML parsing … … Read more ›...

Members Only Content
Log In Register Home


Java and XML tutorial with SAX parser – reading only

Q. What is a SAX Parser and when will you use it? A. SAX  (Simple API for XML) is a … … Read more ›...

Members Only Content
Log In Register Home


Java and XML tutorial with StAX parser – reading

Q. What is a StAX Parser and when will you use it?
A. The StAX Java API for XML processing …

Read more ›



Java and XML tutorial with Stax Parser – writing cursor based and iterator based

Here is a simple example to write employee object to XML using simpler cursor based approach. Output: Here is … … Read more ›...

Members Only Content
Log In Register Home


XML Parsing with JAXB implementation called MOXy

Step 1:Create a new Java project via Maven as shown below, and import the project into eclipse IDE. Step 2:… … Read more ›...

Members Only Content
Log In Register Home


XML processing in Java overview with a Stax reader example

Q. What APIs do Java provide to process XML? What are the pros and cons of each, and when to use … … Read more ›...

Members Only Content
Log In Register Home


Java FAQs to Fast-track & Go places

Java Interview Q&As

Top