Configuring the GlassFish server

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:

Configuring the GlassFish server

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

Get Enterprise Application Development with Ext JS and Spring now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.