Registering a GlassFish Application Server Instance

See Also

To begin developing enterprise applications you must first register an instance of the GlassFish Server with the IDE.

If you deploy your applications to a remote instance of the application server, those libraries are available at runtime. However, during development, to compile your project you need a local instance of this server and libraries.

You can have multiple instances of the GlassFish application server registered with the IDE, but you must first specify the local folder that contains the local installation of the server. You only need to specify the location of the local installation once.

To register an instance of the GlassFish Server:

  1. Choose Tools > Servers.
  2. In the Servers dialog box, click Add Server to open the Add Server wizard.
  3. Select the server you want to register.
  4. Type a name for the server instance. This name is used to identify the server in the IDE.
  5. Click Next.
  6. Supply the platform location of the server.
  7. Select the type of domain you are registering.
  8. Click Finish to complete the Add Server Instance wizard.
  9. Click Close in the Servers dialog box.

After a server instance is registered with the IDE, a node for the server instance is visible in the Services window under the Servers node. You can perform the following tasks by right-clicking the server instance node and choosing a task from the pop-up menu:

To remove an instance of the server:

  1. Choose Tools > Servers.
  2. In the Servers dialog box, select the server name in the left pane.
  3. Click Remove.
  4. Click Close.
See Also
Working With the GlassFish Application Server

Legal Notices