|
|
XML and Java Links
XML is data independent markup language.Java is a plarform
independent prorgramming language. XML is extensivley used by
various Java technologies for the needs.
1.To store the Configurable propertits
2.Used by EJB to store the Configuration of Session and Entity Beans
3.To share data between in Differnt components and applications.
4.Used by Java webservices.
|
|
A Java application
without the use of XML is a rare case.
How to read XML
There are two important parsing techniques used by Java to parse the
XML file
1.DOM parsing (Document Object model)
2.SAX parsing (Simple API for XML parsing)
Other third party extensions
Castor = for parsing and generating XML into and from a Java bean
Common = Digestor for reading configurable properties from XML from
Apache common
Betwixt= Services for mapping JavaBeans to XML documents, and vice
versa from Apache common
XMLIO =Simple and fast importer for XML configuration or import
files
|
Useful guide
Document Object Model(DOM) guide
Definition and specification of DOM.
DOM XML tutorial
All about DOM tutoral from W3C
Castor Tutorial
Castor Tutorial and downloads
XML tutorial
XML basics, Definition and everything
Java and XML tutorial
How to work with XML using Java and it's APIs |
|
|