As we discussed in the previous post, CXF is the combination of two projects: Celtix developed by IONA and XFire developed by Codehaus working together at the Apache Software Foundation.
If you want an Enterprise support for CXF then please find the following links.
Open Source FUSE Services Framework – based on CXF
CXF Developer Advantages
- If you know Spring then CXF is too easy for you. All its configurations are in a Spring xml file. Internally CXF is reading this Spring XML as its Configuration file.JAX-WS encompasses many different areas:
- Generating WSDL from Java classes and generating Java classes from WSDL
- Provider API which allows you to create simple messaging receiving server endpoints
- Dispatch API which allows you to send raw XML messages to server endpoints
- CXF implements the JAX-WS APIs which make building web services easy.
- Aegis Databinding (2.0.x) is a databinding library that makes development of code-first web services incredibly easy.
- CXF enables the development of RESTful services via annotations using the HTTP Binding.
It has a lot many features more to say. Once you got your project requirements and clear with the approach which you want to follow then please have a look on this feature list. I think you definitely will choose CXF without any doubt. [I am exerting some of the features from its own site]
General
- High Performance
- Extensible
- Intuitive & Easy to Use
Support for Standards
- JAX-WS, JAX-WSA, JSR-181, and SAAJ
- SOAP 1.1, 1.2, WS-I Basic Profile, WS-Security, WS-Addressing, WS-RM and WS-Policy
- WSDL 1.1 and 2.0
- MTOM
Multiple Transports, Bindings, Data Bindings, and Formats
- Bindings: SOAP, REST/HTTP
- Data bindings: JAXB 2.0, Aegis, XMLBeans. (Castor and JiBX will be supported in a later version of CXF)
- Formats: XML, JSON
- Transports: HTTP, Servlet, JMS, and Jabber transports
- Extensibility API allows additional bindings for CXF, enabling additional message format support such as CSV and fixed record length
Flexible Deployment
- Lightweight containers: deploy services in Tomcat or Spring-based containers
- JBI integration: deploy as a service engine in a JBI container such as ServiceMix, OpenESB or Petals
- SCA integration: deploy in an SCA container such as Tuscany
- J2EE integration: deploy services in J2EE application servers such as Geronimo, JOnAS, JBoss, WebLogic, and WebSphere
- Standalone Java client/server
Support for Multiple Programming Languages
- Full support for JAX-WS 2.0 client/server programming model
- JAX-WS 2.0 synchronous, asynchronous and one-way API’s
- JAX-WS 2.0 Dynamic Invocation Interface (DII) API
- Support for wrapped and non-wrapped styles
- XML messaging API
- Support for JavaScript and ECMAScript 4 XML (E4X) – both client and server
- Support for CORBA with Yoko
- Support for SCA withTuscany
- Support for JBI with ServiceMix
Code Generation
- Java to WSDL
- WSDL to Java
- XSD to WSDL
- WSDL to XML
- WSDL to SOAP
- WSDL to service
Other related posts:
1. Creating Web services using Apache CXF (Part 1) : The Basics.
2. Creating Web services using Apache CXF (Part 2) : Development.
3. Creating Web services using Apache CXF (Part 3) : Configuration.
4. Creating Web services using Apache CXF (Part 4): Testing.
Popularity: 37% [?]
Related posts:
- Apache CXF- An ultimate web service open source framework : Lets start learning… Apache CXF is an open source services framework which...
- Creating Web services using Apache CXF (Part 3): Configurations We have to declare Spring Context Listener, CXF Servlet, Spring...
- Creating Web services using Apache CXF (Part 4): Testing To test this we can follow the same client program...
- Creating Web services using Apache CXF (Part 2): Development We need to set-up the project environment first. Please...
- Creating Web Services using CXF (Contract first Approach) Part 2 : WSDL Creation. What is WSDL and what its Structure? A WSDL document...
Related posts brought to you by Yet Another Related Posts Plugin.
16 Responses to “Creating Web services using Apache CXF (Part 1) : The Basics.”
[...] « The Second Level Cache in Hibernate : Settings and Configurations. Creating Web services using Apache CXF (Part 1) : The Basics. [...]
[...] 1. Creating Web services using Apache CXF (Part 1) : The Basics. [...]
[...] 1. Creating Web services using Apache CXF (Part 1) : The Basics. [...]
[...] « Creating Web services using Apache CXF (Part 1) : The Basics. Creating Web services using Apache CXF (Part 3): Configurations [...]
[...] Creating Web services using Apache CXF (Part 1) : The Basics. [...]
[...] Creating Web services using Apache CXF (Part 1) : The Basics. [...]
[...] 1. Creating Web services using Apache CXF (Part 1) : The Basics. [...]
[...] 1. Creating Web services using Apache CXF (Part 1) : The Basics. [...]
[...] 1. Creating Web services using Apache CXF (Part 1) : The Basics. [...]
[...] 1. Creating Web services using Apache CXF (Part 1) : The Basics. [...]
[...] Creating Web services using Apache CXF (Part 1) : The Basics. [...]
[...] 1. Creating Web services using Apache CXF (Part 1) : The Basics. [...]
[...] 1. Creating Web services using Apache CXF (Part 1) : The Basics. [...]
[...] 1. Creating Web services using Apache CXF (Part 1) : The Basics. [...]
[...] 1. Creating Web services using Apache CXF (Part 1) : The Basics. [...]
[...] Click here to Read Full Article [...]
Leave a Reply: