I'm implementing the PhaseListener interface and now the system has been slow. I've been doing an analysis and seen that JSF is making repeated calls to a page that has only one dashboard with information coming from the database. Does anyone know what may be happening or have you experienced this problem before? Is it possible to decrease the number of calls? Any tips?
Note: When implementing the PhaseListener methods I put only a System.out.println ("") then the slowness is not caused by any code implemented in them.
Before Phase: RESTORE_VIEW 1
After the phase: RESTORE_VIEW 1
After the phase: RESTORE_VIEW 1
Before the phase: APPLY_REQUEST_VALUES 2
Before the phase: APPLY_REQUEST_VALUES 2
After the phase: APPLY_REQUEST_VALUES 2
After the phase: APPLY_REQUEST_VALUES 2
Before the phase: PROCESS_VALIDATIONS 3
Before the phase: PROCESS_VALIDATIONS 3
After the phase: PROCESS_VALIDATIONS 3
After the phase: PROCESS_VALIDATIONS 3
Before the phase: UPDATE_MODEL_VALUES 4
Before the phase: UPDATE_MODEL_VALUES 4
After the phase: UPDATE_MODEL_VALUES 4
After the phase: UPDATE_MODEL_VALUES 4
Before the phase: INVOKE_APPLICATION 5
Before the phase: INVOKE_APPLICATION 5
After the phase: INVOKE_APPLICATION 5
After the phase: INVOKE_APPLICATION 5
Before the phase: RENDER_RESPONSE 6
Before the phase: RENDER_RESPONSE 6