This is a Jakarta EE project built with Gradle. This is not meant for production type deployment as it is a legacy system with flaws, use it as a learning material instead.
- JDK 17
- Glassfish 7
- PostgreSQL
- PostgreSQL JDBC Driver
- Build
./gradlew clean build
- Start PostgreSQL
pg_ctl start
- Start Glassfish
asadmin start-domain
- Deploy
asadmin deploy .\ear\build\libs\ear.ear
- Redeploy
asadmin redeploy .\ear\build\libs\ear.ear
Before step 4, make sure you hava a JDBC setup with PostgreSQL and it jas a JNDI name of epdaDS
(case sensitive)
To do this, you need to visit http://localhost:4848, JDBC Connection Pool, and create a new connection
Make sure your PostgreSQL JDBC driver is in your classpath by adding it on your Glassfish folder at /lib