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

[jsr339-experts] Re: First steps

From: Adam Bien <abien_at_adam-bien.com>
Date: Mon, 7 Mar 2011 20:38:08 +0100

Passing the current "REST" context is a bigger challenge. Usually sub-resources are used to navigate in a "domain" object hierarchy...

thanks!,

adam
On 07.03.2011, at 19:37, Markus KARG wrote:

> Possibly the request was more about defining what will happen w.r.t.
> transaction and security context forwarding in case sub is not only returned
> by getSub() but actually invoked? That actually is not defined by JSR311 so
> far, but possibly by another spec of Java EE?
>
> Regards
> Markus
>
>> -----Original Message-----
>> From: Bill Burke [mailto:bburke_at_redhat.com]
>> Sent: Montag, 7. März 2011 14:57
>> To: jsr339-experts_at_jax-rs-spec.java.net
>> Subject: [jsr339-experts] Re: First steps
>>
>>
>>
>> On 3/6/11 4:00 AM, Adam Bien wrote:
>>> Hi Roberto,
>>>
>>> better intergration with EJB 3.2 would be also nice. E.g. it is hard
>> right now to use EJB 3.2 as a sub-resource.
>>>
>>
>>
>> @EJB Sub sub;
>>
>> @Path("sub")
>> public Sub getSub() { return sub; }
>>
>> ?
>>
>> --
>> Bill Burke
>> JBoss, a division of Red Hat
>> http://bill.burkecentral.com
>