jsr345-experts@ejb-spec.java.net

[jsr345-experts] XXX under section 4.3.5

From: Marina Vatkina <marina.vatkina_at_oracle.com>
Date: Tue, 06 Sep 2011 18:46:36 -0700

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