- We will begin by configuring our connection pool in GlassFish 5. Once it is up and running, go to this URL:
http://localhost:8080
- Now click on the go to the Administration Console link or if you prefer, go straight to the URL at:
http://localhost:4848/
- Then follow this path in the left menu:
Resources | JDBC | JDBC Connection Pools
- Click on the New button. It will open the New JDBC Connection Pool page. Fill in the fields as described here:
- Pool Name: MysqlPool
- Resource Type: javax.sql.DataSource
- Database Driver Vendor: MySql
Of course, you can make your own custom choices, but then we will be following different paths!
- Click on the Next button. It will open the second step for our pool creation process.
This new ...