- you do not have interfaces to serialize. JAXB cannot serialize them.\r
- you have a default no args constructor (can be private if you do not need it)\r
- JAXB cannot serialize a Map, use custom data structure instead!\r
+ - Enum cannot be serialized as its abstract class (do not confuse with enum which is fine)\r
+ - Fields serialization leave a little more space for manuevre, so use it. If you do you then \r
+ can accept and return interfaces, e.g. List, Map; abstract classes etc, from your methods. \r
+ \r
If you have the data on the server side, but nothing is coming through to the client, \r
this is a JAXB serialization problem. They tend to be very silent and thus hard to debug. Check your \r
data structure can be serialized! \r