Performing this task will resolve a problem that occurs when using NetBeans to configure a JDBC Connection Pool and JDBC Resource for GlassFish. The default installation of NetBeans and GlassFish results in the naming of the JDBC configuration file as sun-resources.xml when it should be named glassfish-resources.xml. This is a Windows only problem.
The first step is to install NetBeans if you have not already done so. I recommend the Java EE version. Download and install. All the defaults during install are acceptable. Install GlassFish but it is not necessary to install Tomcat.
When GlassFish is installed with NetBeans it is configured as available to NetBeans. You can see this in the Services tab under Servers.