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).
Jan
>
>
> regards
> Richard