Java XML
Encyclopedia
The Java programming language
XML
APIs
from Sun Microsystems
consist of the following separate programming APIs:
Only the Java API for XML Processing
is a required API in Enterprise Java Beans Specification 1.3.
A number of different Open Source
software packages implement these APIs:
Java (programming language)
Java is a programming language originally developed by James Gosling at Sun Microsystems and released in 1995 as a core component of Sun Microsystems' Java platform. The language derives much of its syntax from C and C++ but has a simpler object model and fewer low-level facilities...
XML
XML
Extensible Markup Language is a set of rules for encoding documents in machine-readable form. It is defined in the XML 1.0 Specification produced by the W3C, and several other related specifications, all gratis open standards....
APIs
Application programming interface
An application programming interface is a source code based specification intended to be used as an interface by software components to communicate with each other...
from Sun Microsystems
Sun Microsystems
Sun Microsystems, Inc. was a company that sold :computers, computer components, :computer software, and :information technology services. Sun was founded on February 24, 1982...
consist of the following separate programming APIs:
- Java API for XML ProcessingJava API for XML ProcessingThe Java API for XML Processing, or JAXP , is one of the Java XML programming APIs. It provides the capability of validating and parsing XML documents...
, or JAXP. - Java API for XML MessagingJava API for XML MessagingThe Java API for XML Messaging enables distributed software applications to communicate using XML . JAXM supports both asynchronous and synchronous messaging.-External links:*...
, or JAXM. - Java API for XML-based RPC, or JAX-RPC.
- Java API for XML RegistriesJava API for XML RegistriesJava API for XML Registries defines a standard API for Java platform applications to access and programmatically interact with various kinds of metadata registries. The JAXR API was developed under the Java Community Process as JSR 93....
, or JAXR. - Java API for XML Web Services, or JAX-WS.
- Java API for RESTful Web Services, or JAX-RS.
- Java API for XQuery, or XQJ.
- Java Architecture for XML BindingJava Architecture for XML BindingJava Architecture for XML Binding allows Java developers to map Java classes to XML representations. JAXB provides two main features: the ability to marshal Java objects into XML and the inverse, i.e. to unmarshal XML back into Java objects...
, or JAXB. – (this is its official Sun name, even though it is an API, see http://java.sun.com/developer/technicalArticles/WebServices/jaxb/) - STreaming XML processingStAXStreaming API for XML is an application programming interface to read and write XML documents, originating from the Java programming language community.Traditionally, XML APIs are either:...
, or StAX (compatible with JDK 1.4 and above, included in JDK 1.6).
Only the Java API for XML Processing
Java API for XML Processing
The Java API for XML Processing, or JAXP , is one of the Java XML programming APIs. It provides the capability of validating and parsing XML documents...
is a required API in Enterprise Java Beans Specification 1.3.
A number of different Open Source
Open source
The term open source describes practices in production and development that promote access to the end product's source materials. Some consider open source a philosophy, others consider it a pragmatic methodology...
software packages implement these APIs:
- XercesXercesXerces is a collection of software libraries for parsing, validating, serializing and manipulating XML. The library implements a number of standard APIs for XML parsing, including DOM, SAX and SAX2. The implementation is available in Java, C++ and Perl programming languages.-External...
– One of the original and most popular SAXSimple API for XMLSAX is an event-based sequential access parser API developed by the XML-DEV mailing list for XML documents. SAX provides a mechanism for reading data from an XML document that is an alternative to that provided by the Document Object Model...
and DOMDocument Object ModelThe Document Object Model is a cross-platform and language-independent convention for representing and interacting with objects in HTML, XHTML and XML documents. Aspects of the DOM may be addressed and manipulated within the syntax of the programming language in use...
parser. - XalanXalanXalan is a popular open source software library from the Apache Software Foundation, originally created by IBM under the name LotusXSL, that implements the XSLT 1.0 XML transformation language and the XPath 1.0 language. The Xalan XSLT processor is available for both the Java and C++ programming...
– XSLTXSLTXSLT is a declarative, XML-based language used for the transformation of XML documents. The original document is not changed; rather, a new document is created based on the content of an existing one. The new document may be serialized by the processor in standard XML syntax or in another format,...
/XPathXPathXPath is a language for selecting nodes from an XML document. In addition, XPath may be used to compute values from the content of an XML document...
implementation, included in JDK 1.4 and above as the default transformer (XSLT 1.0). - SaxonSaxon XSLTSaxon is an XSLT and XQuery processor created by Michael Kay. There are open-source and also closed-source commercial versions. Versions exist for Java and .NET.The current version, as of December 2010, is 9.3.- Versions :...
, alternative highly specification compliant XSLTXSLTXSLT is a declarative, XML-based language used for the transformation of XML documents. The original document is not changed; rather, a new document is created based on the content of an existing one. The new document may be serialized by the processor in standard XML syntax or in another format,...
/XPathXPathXPath is a language for selecting nodes from an XML document. In addition, XPath may be used to compute values from the content of an XML document...
/XQueryXQuery- Features :XQuery provides the means to extract and manipulate data from XML documents or any data source that can be viewed as XML, such as relational databases or office documents....
processor (supports both XSLT 1.0 and 2.0) - Woodstox – An open source StAXStAXStreaming API for XML is an application programming interface to read and write XML documents, originating from the Java programming language community.Traditionally, XML APIs are either:...
and SAXSax-Places:* Sax, Alicante, a municipality in Spain* Saxmundham, UK - a colloquial short form used in East Suffolk* Sax, a village in the Sennwald municipality in Switzerland-People:* Sax, later "Sax-Hohensax", name a house of barons originally at Hohensax castle...
(as of version 3.2) implementation.
External links
- Java technology for XML - Sun's page.
- StelsXML JDBC driver - JDBC driver for XML files.
- Woodstox - Woodstox home page.
- How To Schema Check Xml Via JAXB - Rob Austin