Le 14/12/2012 14:19, forums_at_java.net a écrit :
> Yes - you are correct - bookmarkable urls is not REST - it is a step
> in that
> direction. However, to really incorporate REST with JSF, you would
> probably
> need some sort of adapter that understands POST, GET, PUT, DELETE in a
> REST
> way. You probably would want direct access to the managed bean
> layer/EL..etc... You should also look at JSR 311.
I agree,
http://domain/blog/entry/9 that returns HTML => JSF 2 + pretty-faces
http://domain/blog/entry/9 that returns JSON or XML (and support for
POST, GET, PUT, DELETE) => JAX-RS (jsr 311)