On 11 October 2012 15:33, Jan Algermissen <jan.algermissen_at_nordsc.com>wrote:
>
> On Oct 11, 2012, at 3:27 PM, Richard Kolb wrote:
>
> >
> >
> >
> > JAX-RS 2.0 and GUI ?
> > Please explain, thanks.
>
> I do not separate technical and User APIS, instead use JAX-RS for both.
>
> Details in http://jalg.net/2012/10/jax-rs-2-0-mvc/
>
> I saw RESTeasy having pretty sophisticated integration of JAX-RS, CDI and
> templating and with JAX-RS 2.0 that should not be too hard to build on your
> own to avoid being dependent on a proprietary JAX-RS extension.
>
> How you could do that with the new filter API I explain in the blog.
> What's left would be to make the managed beans available in the template
> engine context (e.g. subclass VelocityContext and make it access the
> BeanManager - though I only have vague CDI knowledge there).
>
I had no idea :)
It may have some possibilities for some simple apps. I guess rest can drop
out HTML with hooks back into other restful methods. PUT, DELETE and in
other restful contexts.
thanks Jan
regards
Richard.