Jerome Louvel wrote:
>> IMHO this puts more work on the developer. They have to
>> create their own
>> code for some very common cases.
>
> How does it put more work on the developer?
Because a developer has to create their own annotated class for such
common cases, like you did, rather than *reuse* Representation<T>.
> The Entry POJO class is
> necessary in all cases. Maybe you want Entry to extends a base
> Entity/Representation class?
>
No need. Entity<T> and Representation<T> encapsulate the type to be
parsed/serialized, with common meta-data of the request and response,
respectively without requiring modification of that type.
Paul.
--
| ? + ? = To question
----------------\
Paul Sandoz
x38109
+33-4-76188109