Your First Cup: An Introduction to the Java EE Platform

ProcedureAdding Enterprise Server v3 as a Server in NetBeans 6.7 IDE

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

Before You Begin

Enable Enterprise Server v3 support as described in Enabling Enterprise Server v3 Support in NetBeans 6.7 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 Enterprise Server v3 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.