We just release a new version of Oracle JDeveloper - 220.127.116.11.
One new feature here is built-in support for GlassFish. This include the ability to create an "application server" connection to GlassFish and then deploy to that server with one click from inside JDeveloper. You can use this for deploying Oracle ADF Essentials application on Glassfish, but you can also use it to deploy any Java EE application you build in JDeveloper on GlassFish.
However, if you are planning to work with GlassFish and JDeveloper on a more regular basis as your development server, then you might find my new extension useful.
The new extension allows you to start and stop an external GlassFish instance, as well as start it in debug mode (which will allow JDeveloper to remotely debug your application as it runs on the server. I also added a button that will invoke the web admin console of Glassfish.
Here is a quick demo that will show you how to work with the extension:
The extension is available from help->check for updates, or you can download it directly from here, and then use help->check for updates pointing to the local zip file.
[update Nov-2012] - The new version 1.3 now runs on Mac and Linux thanks to updates to the source code by Alexis Lopez and David Aroca. Make sure to download that latest version, I also added the option to disable the extension from tools->features in JDeveloper.
By the way if you want to improve or modify this extension you can find the source for it here. You can also use this as a way to learn a bit about building JDeveloper extensions.