jsr345-experts@ejb-spec.java.net

[jsr345-experts] Re: [ejb-spec users] Re: XXX under section 4.3.5

From: Reza Rahman <reza_rahman_at_lycos.com>
Date: Wed, 07 Sep 2011 11:14:12 -0400

+1

On 9/7/2011 4:27 AM, Carlo de Wolf wrote:
> Why should it be stated clearer?
>
> The bean class implementing the SessionBean interface or not is
> completely unrelated to anything defined on the interceptor classes.
>
> I think it would only complicate understanding to imply such a
> relationship.
>
> Carlo
>
> On 09/07/2011 03:46 AM, Marina Vatkina wrote:
>> Experts,
>>
>> Please advise on the following clarification request marked as XXX
>> under section 4.3.5 The SessionBean Interface
>>
>> Q Would interceptor classes apply as well? If yes, how it should be
>> stated?
>>
>> "If the session bean implements the SessionBean interface, the
>> PreDestroy annotation on the bean class can only be applied to the
>> ejbRemove method; the PostActivate annotation can only be applied to
>> the ejbActivate method; the PrePassivate annotation can only be
>> applied to the ejbPassivate method. Similar requirements apply to use
>> of deployment descriptor metadata as an alternative to the use of
>> annotations. "
>>
>> thanks,
>> -marina
>
>
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 10.0.1392 / Virus Database: 1520/3881 - Release Date: 09/06/11
>
>