The following tables lists Java APIs for XML processing (JAX) and shows where commonality exists between key methods. |
|||
API |
Package |
Key Methods |
JDK |
|---|---|---|---|
| JAXB | javax.xml.bind |
JAXBContext.newInstance(); context.createMarshaller(); context.createUnmarshaller(); context.createValidator(); |
JAXB2.0 in JDK6 |
| JAXP | javax.xml.parsers |
||
| JAXR | javax.xml.registry |
ConnectionFactory.newInstance(); factory. connection. service.getBusinessQueryManager(); service.getBusinessLifeCycleManager(); |
|
| JAX-RPC | javax.xml.rpc |
JAX-RPC2.0 in JDK6 | |
| SAAJ | javax.xml.soap |
SOAPConnectionFactory.newInstance(); |
|
| TrAX | javax.xml.transform |
TransformerFactory.newInstance(); transformer.transform(); |
|
| JAX-WS | javax.xml.ws javax.jws |
||
© 2007 i-Lab Limited