- Download the zip archive for GlassFish from here.
Unzip it using the following command.
Move GlassFish installation directory to a more suitable place.
sudo mv glassfishv3 /opt
Navigate to New -> Server and click on download additional server adapters link and install Oracle GlassFish server tools. Restart Eclipse, when the installation is finished.
After restarting Eclipse, navigate to New -> server.
Select GlassFish Server Open Source Edition 3 (Java EE 6) and click next.
Select a working JRE environment, select the installation path of your Glassfish application server and click next.
In this screen keep the default settings and click next.
In this screen it lets you select existing projects to be added to the newly configured server adapter, just click Finish.
After a successful configuration, server adapter will be appeared in the servers tab. Start the server by right-clicking on it.
Integrating GlassFish with Eclipse 3.7
Join the DZone community and get the full member experience.Join For Free
Learn how API management supports better integration in Achieving Enterprise Agility with Microservices and API Management, brought to you in partnership with 3scale