A JEE web application for creating online polls.
- Eclipse for Java EE with GlassFish Tools
- GlassFish 4
- In GlassFish 4 server admin page:
- Create a JDBC Connection Pool
- Create a JDBC Resource
simplepollusing 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:
All data is sent and received in JSON.