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

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-tp28287891p28287891.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to