cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dan06 <dan.king...@yahoo.com>
Subject Clarification on using JAX-RS with CXF
Date Mon, 19 Apr 2010 20:40:18 GMT

I'm unclear about the following and I'd appreciate help in resolving my
uncertainties. 

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 { ... }

2. When using HTTP centric clients, must the client have a copy of the
request/response objects. If yes, is there anyway around it?

Thanks.

-Dan
-- 
View this message in context: http://old.nabble.com/Clarification-on-using-JAX-RS-with-CXF-tp28287749p28287749.html
Sent from the cxf-user mailing list archive at Nabble.com.


Mime
View raw message