To Add GlassFish Server as a Server in NetBeans IDE
To run the tutorial examples in NetBeans IDE, you must add your GlassFish Server as
a server in NetBeans IDE. Follow these instructions to add the GlassFish Server to NetBeans IDE.
-
Select Tools -> Servers to open the Servers dialog.
-
Click Add Server.
-
Under Choose Server, select GlassFish v3 and click Next.
-
Under Server Location, browse the location of your GlassFish Server installation
and click Next.
-
Under Domain Location, select Register Local Domain.
-
Click Finish.