These bindings allow you to unmarshal XML documents into a hierarchy of Java objects and marshal the Java objects into XML with minimal effort.
This makes it easy to read in different types of documents without knowing their type in advance. JAXBContext jaxb Context = Instance(package Name); Unmarshaller unmarshaller = jaxb Context.create Unmarshaller(); Validating(true); Item item = (Item) unmarshaller.unmarshal(new File("item.xml")); ...
JAXBContext jc = Instance( "foo" ); Unmarshaller u = jc.create Unmarshaller(); Document Builder Factory dbf = Document Builder Instance(); Namespace Aware(true); Document Builder db = Document Builder(); Document doc = db.parse(new File( "xml File.xml")); Object o = u.unmarshal( doc ); can validate a document with the schema while unmarshalling.
When a CXF client invokes a CXF server, there is an outgoing interceptor chain for the client and an incoming chain for the server. Here is a list of some of the common interceptors and the functionality they provide.
When the server sends the response back to the client, there is an outgoing chain for the server and an incoming one for the client. The source code for these interceptors (latest trunk version) can be viewed with this Fisheye query.