Once you have prepared for remote GlassFish administration you can do most of the things that you want to do by using your browser to log in to the GlassFish web administrative console.
The GlassFish administrative console is a JSF application with some tightened security features such as encrypted communication across the internet. To use it, you must first log in with your browser. The URI you should use is http://ukko.d.umn.edu:port/, where port is the Admin port that your server is using. This will bring up the GlassFish Admin Console.
This presentation describes how to perform the following GlassFish administrative tasks. Each is started by clicking on the appropriate button as indicated below.
Some of the information that you need for creating a database pool can
be obtained by viewing the glassfish-resources.xml
file in
your NetBeans project.
Values for the following properties are needed:
You will also need the port number for the database that you started
with the asadmin start-database
command.
The first step is shown below. You need to do four things.
This step is shown in two parts. The first part just requires clicking on the "Ping: Enabled" checkbox. The second part requires scrolling to the bottom of the pane and filling in some information.
After scrolling to the bottom you need to fill in four items:
If you see the "Ping Succeeded" message then you are finished with creating the connection pool.
In the "New JDBC Resource pane you need to do three things:
Deploying and redeploying an application are similar, and both can be started from the list of applications. Be sure you have rebuilt your project. Otherwise you will be deploying an old version of your application.
The panes that are brought up are identical except for their label so only redeployment is described here.
dist
folder of your project.