dev@jsr311.java.net

Re: JSR311: Deferring Issues 10, 12, 19

From: Bill Burke <bburke_at_redhat.com>
Date: Tue, 24 Jun 2008 07:12:26 -0400

Stefan Tilkov wrote:
> On Jun 23, 2008, at 9:19 PM, Marc Hadley wrote:
>
>> As outlined in an earlier email[1], we plan to address EE integration
>> issues in a maintenance release of JAX-RS that will be released
>> alongside EE 6.0. Therefore, unless anyone shouts, I plan to defer
>> issues 10 (Relationship to WebBeans), 12 (relationship to JSF 2.0) and
>> 19 (EJB bridge) to that release.
>>
>
>
> The question about EJB integration has come up multiple times when I did
> a presentation on JSR 311. Admittedly though, people likely expect
> something to work in their existing deployments, which I'm not sure is
> doable.
>

We did it by JNDI. You specify a JNDI reference, JAX-RS looks it up,
searches for JAX-RS annotations. Since a proxy will implement an
interface, put the JAX-RS annotations on the interface.

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