Hi, what I forgot in my last email: In JAX-RS you are not required to call the serialisation / deserialisation logic. You implement the MessageBodyReader/Writer, give it to the ruintime environment, and they are called by the JAX-RS runtime. In Restlet you have to check the media type the client sent, decide which Deserialzer you have to use and call the deserialization. The same at the end: Check the accepted media types, decide and call the serialization. in JAX-RS you are not required to care about that, because the runtime will do it.
best regards Stephan -----Ursprüngliche Nachricht----- Von: Ivan <[email protected]> Gesendet: 30.11.2011 23:37:44 An: [email protected] Betreff: RE: Re: Restlet vs JAX-RS >Say, user needs to build RESTful HTTP services. He can do it using either >frameworks with proprietary API (like Restlet, Restfulie) or frameworks >supporting JAX-RS API (like Jersey, Apache CXF and Restlet as well). I would >agree they are incomparable things but at then end they serve the same >purpose. So, selecting from your list the question is more about choosing >between JAX-RS annotations and the Restlet annotations. But I think (from my >limited Restlet knowledge) the difference is much more than just annotations. ___________________________________________________________ SMS schreiben mit WEB.DE FreeMail - einfach, schnell und kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192 ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2889676

