The GlassFish 4 server bundled with NetBeans is automatically configured the first time you run the project. This means any required resources are set up dynamically based on the current state of the project. All such properties are copied to the
glassfish-resources.xml file in the
setup directory, as shown in the following screenshot:
glassfish-resources.xml file was modified during the database reverse engineering process to include the database connection pool and JDBC resources required by JPA. As a result, the contents of this file define the required GlassFish connection pool details.
It is important to understand ...