GlassFish support in IntelliJ
Since this is still a wish for IntelliJ developers, consider using
NetBeans IDE that provide comprehensive
Developing/deploying a Web service on GlassFish using IntelliJ (and
was certainly non-intuitive. I tried it few weeks ago and the plug-in might have
improved since then.