JAXB classes: reuse for REST
===

**Tech Stack:** Java 1.6, JPA (Hibernate 3), Spring 3, Oracle 11g

Hello,

We are currently refactoring our code to move away from SOAP based web-services to REST.
I've got loads of XSD, these were used for SOAP based WS. And there are tons of JAXB classes generated using these schema files.

My question is can I use the same JAXB classes for REST (in and out) or not.
I've no experience with REST.

Thanks,
adi