As our application connects with the database, a JDBC Connection Pool needs to be created in the GlassFish Server before deploying the
WAR file. When we deploy the application from NetBeans, the connection pool is automatically created by NetBeans, but if we want to deploy from the GlassFish admin console, we need to create the connection pool manually. In this recipe, we are going to see how to create the JDBC Connection Pool from the GlassFish admin console.
Start the GlassFish Server. To start the server, go to the following (or the appropriate) location:
C:\Program Files\glassfish-3.0.1\glassfish\bin, and execute the
startserv.bat file, as shown in the following screenshot:
This will ...