After selecting the schema and clicking on the OK button, our database is shown in
the list of databases in the Services window. We can connect to it by right-clicking
on it, selecting Connect from the resulting pop up, then entering our username and
password for the database (we can choose not to allow NetBeans to "remember" the
password when we add the database).
We have now successfully connected NetBeans to a third party RDBMS.
Deploying our first application
NetBeans comes pre-configured with a number of sample applications. To make
sure everything is configured correctly, we will now deploy one of the sample
applications to the integrated GlassFish application server that comes bundled