cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Beryozkin <sberyoz...@gmail.com>
Subject Re: Clarification on using JAX-RS with CXF
Date Tue, 20 Apr 2010 20:16:56 GMT
This is helpful, thanks. But it is about persisting the JAXB beans on the
server side ? My understanding is that JPA annotations should not affect the
serialization of JAXB beans to the wire ?

cheers, Sergey

On Tue, Apr 20, 2010 at 8:57 PM, Jason Chaffee <jchaffee@ebates.com> wrote:

> 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]
> 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 <dan.king106@yahoo.com> 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="Category")
> > @Entity
> > @Table(name="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
> >
> >
> >
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message