This step is for Persistence shared CHA only. If you are using other types
of CHA, you can skip this step and go to Developing the Backing Beans.
When you use Persistence shared CHA, commit the session Context and its
children into DB after the HTTP request ends. A PhaseListener is provided:
RenderResponsePhaseListener.
You must declare it in your JSF configuration resource file: faces-config.xml.
See the following example:
<lifecycle>
<phase-listener>
com.ibm.btt.jsf.event.RenderResponsePhaseListener
</phase-listener>
</lifecycle>