[jsr-314-open-mirror] [jsr-314-open] [2.0RevA-C071] none scoped beans and @PostConstruct

Jason Lee jason at steeplesoft.com
Tue May 25 14:23:54 EDT 2010


On 5/25/10 1:21 PM, Ed Burns wrote:
> This is in the Change Log, and in issue 1683 [1].
>
> Section 5.4.1 of the JSF 1.2 spec states:
>
>    Methods on managed beans declared to be in request, session, or
>    application scope, annotated with @PostConstruct, must be called by the
>    JSF implementation after resource injection is performed (if any) but
>    before the bean is placed into scope.
>
> Mojarra currently *does* cause these methods to be called,
>
> What's right?  Call it or not call it?  I think not call it.  Thoughts?
>
>    
What's the rationale for not calling it?  I would think that would be a 
very confusing departure from expected behavior.

-- 
Jason Lee
Senior Member of Technical Staff at Oracle
http://blogs.steeplesoft.com




More information about the jsr-314-open-mirror mailing list