The Source for Java Technology Collaboration




Session Counter Portlet

Description

Portlet Session Counter sample can be used to test the working of Portlet Session failover. This can be done as follows:

On each refresh of the browser, the counter is incremented by 1. After the session failover occurs, refresh the browser, the counter should continue incrementing from the value that was before the session failover occured. If it does not happen, i.e if the counter starts from 1, it means the session failover is not working.

Prerequisites for Deployment

None. The portlet can be directly deployed into any JSR 168/286 compliant container without any additional configuration.

Deployment Steps

Deploy the portlet to your Portlet Container. For your convenience, the "How To" section on project wiki page will help you get started with a few popular portlet containers.

Tested On

  • Open Source Portlet Container

Topic SessionCounterPortlet . { Edit | Ref-By | Printable | Diffs r2 < r1 | More }
 XML java.net RSS

Revision r2 - 22 Apr 2008 - 11:30:05 - Main.dgothe