Return-Path: Delivered-To: apmail-cxf-users-archive@www.apache.org Received: (qmail 10069 invoked from network); 20 Apr 2010 19:58:00 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 20 Apr 2010 19:58:00 -0000 Received: (qmail 52107 invoked by uid 500); 20 Apr 2010 19:57:59 -0000 Delivered-To: apmail-cxf-users-archive@cxf.apache.org Received: (qmail 52060 invoked by uid 500); 20 Apr 2010 19:57:59 -0000 Mailing-List: contact users-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cxf.apache.org Delivered-To: mailing list users@cxf.apache.org Received: (qmail 52052 invoked by uid 99); 20 Apr 2010 19:57:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Apr 2010 19:57:59 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jchaffee@ebates.com designates 204.14.152.166 as permitted sender) Received: from [204.14.152.166] (HELO exchange2.corp.ebates.com) (204.14.152.166) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Apr 2010 19:57:53 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Clarification on using JAX-RS with CXF Date: Tue, 20 Apr 2010 12:57:28 -0700 Message-ID: <2443D95470D8D8449B8CF1984400858701FB4E81@exchange2.corp.ebates.com> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Clarification on using JAX-RS with CXF Thread-Index: Acrgwtf9lz/18M2XSr2Q10AjmIePSgAAK8TA References: <454347.66755.qm@web114407.mail.gq1.yahoo.com> From: "Jason Chaffee" To: X-Virus-Checked: Checked by ClamAV on apache.org If you take the position of some at java.net, then it would be that they do belong together. See hyperjaxb3. https://hyperjaxb3.dev.java.net/ -----Original Message----- From: Sergey Beryozkin [mailto:sberyozkin@gmail.com]=20 Sent: Tuesday, April 20, 2010 12:51 PM To: users@cxf.apache.org Subject: Re: Clarification on using JAX-RS with CXF I really not sure what to recommend. On Tue, Apr 20, 2010 at 7:26 PM, Dan King wrote: > I'm unclear about the following and I'd appreciate help in gaining > clarification. > > 1. Can/should entities that are marked with JPA > annotations also be marked with JAXB annotations for use as > request/response objects? For example is the following acceptable? > > @XmlRootElement(name=3D"Category") > @Entity > @Table(name=3D"category") > public class Category { ... } > > as far as marshaling Category as a JAXB bean, it does not matter what other annotations Category might have > 2. > When using HTTP centric clients, must the client have a copy of the > request/response objects. If yes, is there anyway around it? > Can you clarify please. What problem you seeing, when using WebClients cheers, Sergey > > Thanks. > > -Dan > > > > >