How to setup a new PostgreSQL-database in pgAdmin and Glassfish embedded within NetBeans?
In order to get a working Glassfish enviroment with a database to work with, we have to setup a new database first.
Open pgAdmin, and make a new database via this way:
After We’ve done that, we setup glassfish:
If you want to debug via a socket port, apply these two steps:
An instance of Glassfish has been created now. Let’s add the database to it: