Q&A

Q1: What are the major characteristics of XML?
A1: XML is a human readable, structured data-encoding format that is generic, simple, flexible, extensible and free to use.
Q2:What is the difference between well-formed and valid XML.
A2: Well-formed XML is syntactically and structurally correct. XML is only valid if it complies with the constraints of a DTD or schema.
Q3:What are the J2EE APIs and specifications that support the processing of XML?
A3: The J2EE APIs and specifications that supports XML processing are JAXP Java API for XML Processing, SAX Simple API for XML Parsing, DOM Document Object Model, and XLST for transforming XML documents
Q4:What are the main differences between SAX and DOM?
A4: SAX provides a serial event-driven parser. ...

Get Sams Teach Yourself J2EE™ in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.