Creating Web Services using CXF and spring

Source: Internet
Author: User
Tags tomcat

Introduction

In this article, you will use CXF and Spring to build and develop an order Processing Web service. The WEB service processes or validates orders placed by the customer and returns a unique order ID. After reading this article, you will be able to apply the concepts and features of CXF to build and develop WEB services.

System Requirements

To run the examples in this article, make sure that the following software has been installed and set up on your computer:

Java 5 or later

Tomcat 5 or later

ANT Build Tools

CXF Binary Distribution version 2.1

After you install the above distribution, set the following environment variables:

Java_home (for Java)

Catalina_home (for Tomcat)

Ant_home (for Ant)

Cxf_home (for CXF)

For example, you can set up cxf_home=c:\apache-cxf-2.1 and add the following content to the PATH environment variable:

Java_home\bin

Catalina_home\bin

Ant_home\bin

Why Choose CXF?

The Apache CXF is an open source framework that provides a reliable infrastructure for easy building and development of WEB services. It allows you to create high-performance and scalable services that you can deploy in Tomcat and Spring based lightweight containers, and on more advanced servers, such as Jboss, ibm®websphere®, or BEA WebLogic.

Function

The framework provides the following features:

Web Service Standard Support: CXF supports the following Web service standards:

Java API for XML Web Services (JAX-WS)

Soap

Web Service Description Language (Web Services Description Language, WSDL)

Message transfer optimization mechanism (Messages transmission optimization mechanism,mtom)

Ws-basic profile

Ws-addressing

Ws-policy

Ws-reliablemessaging

Ws-security

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.