Glassfish v1 is well integrated with Netbeans 5.5. Actually it is not really necessary - to deploy an application you have only to drop the archive into the folder: [glassfish_home]domains\domain1\autodeploy.
But deploying from the IDE EJB 3 and starting glassfish automatically, debugging JSPs, view servlet code of a corresponding JSP or access to the datasources, pools etc. simplifies the development. I tried to integrate Glassfish v2 with netbeans 5.5 - the installation was successful but it didn't work afterwards.
I found the solution in vince kraemer's post - the installation netbeans 5.5.1 :-).
Web Apps, SPA, PWA with vanilla Java Script (ES 6+), CSS 3 and WebStandards only. As simple as possible, but not simpler. See you at: (Progressive) Web apps, Single Page Apps and WebStandards airhacks workshops at MUC airport, Winter Edition
airhacks.fm the podcast:
Stay in touch: airhacks.news.