By Martin Grebac on May 27, 2008
- First, download and install GlassFish V3 TP2 with Metro support from it's update center. Bhakti has a nice blog post with instructions how to do it: http://weblogs.java.net/blog/bhaktimehta/archive/2008/05/working_with_me.html
- Next, download and install latest NetBeans 6.5 development build e.g. from here (get the full or javaee bundle): http://deadlock.netbeans.org/hudson/job/trunk/lastSuccessfulBuild/artifact/nbbuild/dist/zip/
- Start NetBeans, go to Tools --> Plugins menu, and select "Available Plugins" tab
- Check checkbox next to "GlassFish V3 JavaEE Integration" and click "Install"
- Add the server to IDE. Go to "Services" tab, right-click "Servers" node, select "Add Server..." and follow wizard instructions to register your GlassFish v3 instance to NetBeans
Now you can use GlassFish V3 TP2 as a target server for your Web Projects and create web services/clients inside the same way you would do with GlassFish v2. The only difference is that JSR 109 integration with GlassFish is not ready yet, so you can't enjoy features like Web Service Tester, or deploying services/clients without generating necessary artefacts. Work on JSR 109 is in progress, and shall be ready soon. Keep an eye on Bhakti's blog for this.