From cxf-commits-return-3628-apmail-incubator-cxf-commits-archive=incubator.apache.org@incubator.apache.org Thu Nov 08 07:20:34 2007 Return-Path: Delivered-To: apmail-incubator-cxf-commits-archive@locus.apache.org Received: (qmail 66778 invoked from network); 8 Nov 2007 07:20:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Nov 2007 07:20:34 -0000 Received: (qmail 61039 invoked by uid 500); 8 Nov 2007 07:20:21 -0000 Delivered-To: apmail-incubator-cxf-commits-archive@incubator.apache.org Received: (qmail 60982 invoked by uid 500); 8 Nov 2007 07:20:21 -0000 Mailing-List: contact cxf-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-commits@incubator.apache.org Received: (qmail 60973 invoked by uid 99); 8 Nov 2007 07:20:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2007 23:20:21 -0800 X-ASF-Spam-Status: No, hits=-96.3 required=10.0 tests=ALL_TRUSTED,HTML_MESSAGE,MIME_HTML_ONLY X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2007 07:20:57 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0CC7B71420A for ; Wed, 7 Nov 2007 23:20:00 -0800 (PST) Message-ID: <17466022.1194506400032.JavaMail.www-data@brutus> Date: Wed, 7 Nov 2007 23:20:00 -0800 (PST) From: confluence@apache.org To: cxf-commits@incubator.apache.org Subject: [CONF] Apache CXF 2.0 Documentation: RESTful Services (page edited) MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org

RESTful Services has been edited by Jervis Liu (Nov 07, 2007).

(View changes)

Content:

Currently there are two different ways to build RESTful services with CXF.

  1. JAX-RS (JSR-311): CXF has an initial implementation of JAX-RS (JSR-311): Java API for RESTfulWeb Services. This provides a more standard way to build RESTful services in JAVA.
  2. HTTP Binding: The HTTP binding provides a flexible way of creating resources and mapping them to operations in your service. This can currently be done via annatotations or a convention based mapping.
  3. JAX-WS Provider and Dispatch: It is possible to create simple RESTful services with the JAX-WS Provider and Dispatch APIs. It is not as flexible as the HTTP binding, but does use standard APIs.