After switching to 3.0 RC1, I noticed that things seemed to slow down quite a bit, so I ran a profiler and noticed some changes from M4. It seems that every time I change a tab, or on tab load, all of my dynamic dialogs get rendered (all of their backing bean getters get called). Unfortunately my dialogs have some fairly intensive database queries that happen based on the tab the user is on. What's worse, is that when changing tabs, it actually calls the getters of my dialog for the tab I am currently on, and then calls them again for the tab I switched to on every tab change.
Prior to RC1, these getters only got called when I would update/show the dialog. I can try to control this with a backing bean property/boolean that indicates whether the dialog is shown or not, and use the rendered attribute with that boolean around the content in the dialog, but before I do that, I want to verify if this is expected changed behavior from M4.
Thanks!
3.0 RC1
Glassfish 3.1.1
Mojarra 2.1.3