Marina,
Hope the offline match hasn't been that long nor boring :D
Ok for me, it just makes things clearer and relevant because as per Mark's
remarks and proxying mechanisms.
JLouis
2013/3/28 Marina Vatkina <marina.vatkina_at_oracle.com>
> After a longer discussion with Mark offline and not to allow users to
> shoot themselves into a foot, the new proposal is to change both statements
> as follow:
>
> (a) "All non-static public methods of the bean class and of any
> superclasses except the java.lang.Object, are exposed as business methods."
>
> (b) "Business methods exposed through the no-interface view must not be
> declared final."
>
> Let me know if anybody disagrees.
>
> thanks,
> -marina
>
>
> On 3/27/13 11:36 AM, Marina Vatkina wrote:
>
>> Experts,
>>
>> The EJB spec currently requires that if a bean exposes a no-interface
>> view (see 4.9.8 Session Bean’s No-Interface View):
>>
>> (a) "All public methods of the bean class and of any superclasses except
>> the java.lang.Object, are exposed as business methods through the
>> no-interface view."
>> (b) "All methods of the bean class and any superclasses must not be
>> declared final."
>>
>> For all other views the rules for a *business method* is
>> "The method must not be declared as final or static."
>>
>> Does any of you see a problem with removing the rule (b) and changing the
>> rule (a) to:
>>
>> "All non-final non-static public methods of the bean class and of any
>> superclasses except the java.lang.Object, are exposed as business methods
>> through the no-interface view."
>>
>> thanks,
>> -marina
>>
>>
>>
>
--
Jean-Louis
--
Jean-Louis