[webbeans-dev] Clarification of behavior

David Allen drallendc at gmail.com
Mon Jan 19 08:00:36 EST 2009


In section 8.5 of the spec, it states:


        An observer method must be a method of a simple bean
        implementation class or session bean implementation class. An
        observer method may be either static or non-static. If the bean
        is a session bean, the observer method must be a business
        method of the EJB or a static method of the bean class.


In the case of the latter, what is the behavior of the container if a
session bean violates that statement?  Perhaps DefinitionException?
Usually the spec is explicit about the exception thrown.

Thanks,

-- 
David Allen <drallendc at gmail.com>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/weld-dev/attachments/20090119/848bffe5/attachment.html 


More information about the weld-dev mailing list