Apache CXF
...
Software Architecture
Info | ||
---|---|---|
| ||
This is work in progress. |
...
Note: You can also review the CXF Architecture explained by Naveen Balani and Rajeev Hathi: Apache CXF Architecture Overview.
Definitions, Acronyms and Abbreviations
- WSDL - WSDL is an XML format for describing network services as a set of endpoints operating on messages containing either document-oriented or procedure-oriented information.
References
Software Architecture
Sample S/W Architecture Document
Documenting your Software Architecture
...
Simple Front-end
CXF includes a simple frontend front-end which builds services from reflection. This is in contrast to the JAX-WS frontend which requires you to annotate your web service classes or create a WSDL first. The simple frontend fron-tend will use reflection to intelligently map your classes to a WSDL model.
...
An interesting feature of the PhaseInterceptorChain
is that it is reentrant. This can be powerful and slightly dangerous. This feature is only used in CXF during the sending of an outgoing message, The SoapOutInterceptor
is the best example:
Code Block | ||||
---|---|---|---|---|
| ||||
public void handleMessage(Message m) { writeSoapEnvelopeStart(); writeSoapBodyStart(); // invoke next interceptor, which writes the contents of the SOAP Body m.getInterceptorChain().doIntercept(m); writeSoapBodyEnd(); writeSoapEnvelopeEnd(); } |
...