CXF implementation with Spring.
The CXF project itself is a useful tool that simplify web service implementation. I will not state that it is easy from beginning, but it is easy to extend and support. I use AXIS 2 for my previous projects and setting up project build and deployment structure with CXF wasn’t smooth. So, in this article I try to put together all knowledge I earn during this steps.
1. Deployment environment.
Front end Client is a Flex application.
Back end – Spring and blaze ds (for AMF).
Drools for process flow control and validation of compound object creation.
Persistence layer realize with Hibernate3.
Web service provide SOAP and RESTful interface.
Project configuration and dependency manager with maven 2.
All web service communication is over HTTPS.
- Dependency with MAVEN
- Spring bean configuration.(context.xml)
- CXF servlet configuration web.xml
- WS security detail implementation for SOAP
- Basic authorization for REST