I am trying to use an application-scoped bean but every time I call the lazily initialized getter methods, it initializes the values again. I've used the debugger to confirm that the values are null again on every new call (even by the same session). Am I using the application-scope wrong?
<managed-bean>
<managed-bean-name>locationBean</managed-bean-name>
<managed-bean-class>com.model.LocationBean</managed-bean-class>
<managed-bean-scope>application</managed-bean-scope>
</managed-bean>
myfacestag so that the right folks are now attracted. Sorry, no answer from me as I don't use MyFaces. I could at highest suggest to try Mojarra instead. If it also fails with Mojarra, then your problem is likely caused by a bug/mistake in your own code or a generic misconfiguration of your project. - BalusC