jsf 2 - Use of annotation in JSF 2.0? -
when use annotations in beans, framework use reflection recognize scope? flow of above process? right page being called bean getting instantiated , being put concerned sessionmap ,applicationmap or requestmap?
when use annotations in beans, framework use reflection recognize scope?
that's correct.
what flow of above process? right page being called bean getting instantiated , being put concerned sessionmap ,applicationmap or requestmap?
at point, annotations not been processed. processed once during jsf startup , remembered in server's memory. jsf ends collection of registered managed beans further used during runtime. based on managed bean name, jsf knows class , scope. put, when given managed bean cannot found in scope, jsf class#newinstance()
on , put in desired scope.
Comments
Post a Comment