Simple Demo Script for Installing GlassFish.

Messaging

  • Simple 3-step install process to get started: install, configure, admin.
  • Small download
  • Great out of the box admin tools (CLI + Web)
  • Do it on the person's laptop, it only take a few minutes

Setup

  • glassfish-installer-v2-b<XX>-<platform>.jar archive (beta 2 or whatever is the most up-to-date)
  • Java 5 of Java 6 available in the path.

Demo Steps

  • Install using
    java -jar glassfish-installer-v2-b<XX>-<platform>.jar

    This creates a 'glassfish' directory. Show the archive size and mention the reasonable size given it contains a fully-featured application server (including clustering, WSIT and OpenESB)

  • Configure using
    $GLASSFISH_HOME/lib/ant/bin/ant -f setup.xml

    This creates a domain using the "developer" profile (alternatively you can also use the setup-cluster.xml to show the added cluster nodes in the Web UI)

  • Administer GlassFish by starting it (show the ports in use and other useful information)
    $GLASSFISH_HOME/bin/asadmin start-domain domain1

    ... and logging into http://localhost:4848 with admin/adminadmin credentials.

  • Show Web UI Admin Common Tasks and more if possible.

CleanUp

  • delete the "glassfish" directory

See Also