I recently bought the Alfred.app Powerpack. It is byfar the best application launcher / automation engine I've ever used. One of the new features of the second version of this application is user customizable workflows.
In my daily activities, I start, stop, restart and kill my Glassfish server several times a day. In order to save me a few keystrokes and a few alt-tabbing, I created this small workflow allowing me to manage my local Glassfish instance.
You can find the Alfred worfklow at the following url http://bit.ly/alfred-glassfish. You will probably need to adapt the GF_PATH variable in the script to point to the root of your Glassfish installation.
Once this small step is done, you'll end up with the following prompt in your Alfred :