jsr345-experts@ejb-spec.java.net

[jsr345-experts] Re: XXX What about wasCancelCalled -- can it be invoked even if no asynch methods?

From: Reza Rahman <reza_rahman_at_lycos.com>
Date: Fri, 08 Jul 2011 14:22:59 -0400

Marina,

I think throwing an exception is correct.

Cheers,
Reza


On 7/6/2011 8:28 PM, Marina Vatkina wrote:
> GlassFish throws an exception if it is called from an async method or
> if the return type is not a Future...
>
> Experts, what do others think?
>
> thanks,
> -marina
>
> Carlo de Wolf wrote:
>> I would say yes.
>>
>> It ties into the resolution of http://java.net/jira/browse/EJB_SPEC-11.
>>
>> Carlo
>>
>> On 07/06/2011 01:02 AM, Marina Vatkina wrote:
>>> Dear Experts,
>>>
>>> Before we go any further on the discussions of the spec
>>> improvements, we need to close on several issues with the current
>>> version:
>>>
>>> 1. Vote on the optionality of the Entity Beans and JAX-RPC based Web
>>> Service Endpoints (and the split of the spec into 2 parts, but the
>>> split is the secondary issue). I have only 3 votes (positive) so far.
>>>
>>> 2. Close on the items marked by Linda as XXX in the drafts.
>>>
>>> 3. Define *deterministic* rules in the EJB spec about EJB Lite vs.
>>> EJB Full list of features in regards to the EJB support in a Web
>>> Profile container. In addition to be very flexible (contrary to the
>>> regular Java EE approach, and the expectations of the EJB TCK), the
>>> current wording in the spec does not make it clear a) what is
>>> expected and what is not in the Web Profile, and b) if we keep it
>>> flexible, how a user (at deployment and/or runtime) can determine if
>>> a specific feature outside EJB Lite is available/supported.
>>>
>>> The same applies to the Embeddable EJB Container.
>>>
>>> Thank you,
>>> -marina
>>>
>>>
>>
>
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 10.0.1388 / Virus Database: 1516/3748 - Release Date: 07/06/11
>
>