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