RE: Representation<T> and Entity<T>

From: Jerome Louvel <>
Date: Tue, 10 Apr 2007 18:17:57 +0200


> Presumably the presence of @Output indicates the method should be
> exposed as a HTTP method and the method is defaulting to GET
> based on the omission of any @Method annotation ?


> Presumably there would either be application specified serializers
> for Document and JSONObject or it would use default ones defined by
> the API.

I think I agree: beside the serialization done at the resource POJO level
(e.g. toXML() and toJSON() methods), the API implementation should provide a
mechanism to serialize/deserialize representation POJOs transparently.

In the Restlet API, it will be hooked to our ConverterService:

Best regards,