Your First Cup: An Introduction to the Java EE Platform

ProcedureAdding GlassFish Server as a Server in NetBeans IDE

To run the tutorial examples in NetBeans IDE, you must register your GlassFish Server installation as a NetBeans Server Instance. Follow these instructions to register the GlassFish Server in NetBeans IDE.

  1. Select Tools -> Server Manager to open the Servers dialog.

  2. Click Add Server.

  3. Under Server, select GlassFish v3 and click Next.

  4. Under Platform Location, browse to or enter the location of your GlassFish Server installation.

  5. Click Next.

  6. Under Domain, use the drop-down list to select an existing domain, type in the path to the domain directly in the field, or type the name of a new domain to create.

  7. Click Finish.