JEE web application to create simple online polls
Java CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.settings
WebContent
src
.classpath
.gitignore
.project
README.md

README.md

SimplePoll

A JEE web application for creating online polls.

Use

  • Eclipse for Java EE with GlassFish Tools
  • GlassFish 4
  • In GlassFish 4 server admin page:
    • Create a JDBC Connection Pool
    • Create a JDBC Resource simplepoll using the created poll
  • In Eclipse Data Source Explorer:
    • Create a new database connection with the details used above
    • Configure the persistence unit in persistence.xml:
jdbc/simplepoll ```

API

All data is sent and received in JSON.

METHOD Endpoint Returns
GET /api/polls/{id} poll

Screenshots

Create a poll

Vote on a poll

View the results of a poll