1. Create a database in MySQL and download the MySQL connector JAR file, copying it to the Glassfish lib folder.
2. In the Glassfish administrator console, create a JDBC connection pool called nvPool using the MySQL driver and configure it with the database connection details.
3. Create a JDBC resource called jdbc/nvPortal linked to the nvPool and ensure the JNDI name matches the Spring configuration file.