O'Reilly logo

Google Web Toolkit 2 Application Development Cookbook by Shamsuddin Ahammad

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating the JDBC Connection Pool in GlassFish

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.

Getting ready

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required