Chad Sample Guide

INTRODUCTION

Chad is a simple voting service. It has two perspectives; a user perspective & an administration perspective. The user perspective is the default one, which allows a user to vote for a particular poll, as well as view the results of a poll. In addition, in the administration perspective, an authorized administrator can;

Only one vote per poll is allowed for a particular IP address , and the poll results can be compared using the bar graphs and the relevant percentages of votes each choice has received. If you try voting again using the same IP you will be directed to the poll results page, also including the line, "We have already received a vote for this poll from your IP address. Hence you are not eligible for voting" below the results graph.

DEFINITIONS

DEPLOYING THE CHAD SERVICE

To build the samples you need the Apache Ant build tool. Now you will have the Chad service deployed on WSO2 WSAS. You can check this by going to the AJAX based Management Console and clicking on the "Manage Services" link on the left menu. If you see the Chad service listed here, then you know for sure that Chad is active/deployed.

RUNNING THE WEB BASED CHAD CLIENT

You can run the client using a Web browser interface.

APPENDIX