jsr339-experts@jax-rs-spec.java.net

[jsr339-experts] Re: [jax-rs-spec users] Re: Re: Re: FYI: ResourceContext API proposed

From: Bill Burke <bburke_at_redhat.com>
Date: Wed, 29 Aug 2012 17:56:21 -0400

On 8/29/2012 10:09 AM, Bill Burke wrote:
>
> This may be supported already in CDI Beanmanager. I'll ask my CDI guys.
>

CDI supports EJB reference lookup too. CDI 1.1 is simplifying
BeanManager interface too. So, I'm not 100% against this feature like I
was @ManagedAsync, but I'm not in favor of it at this moment.


As I said before, I would be interested in a Servlet.forward() feature.
  Something like:

interface ResourceContext {

    void forwardFromBase(String relativePath);
    void forwardAbsolute(String path);
}


IMO, CDI integration with JAX-RS combined with a forwarding interface
pretty much covers the use cases you're interested in.

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com