Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Integrating GlassFish with Eclipse 3.7

DZone's Guide to

Integrating GlassFish with Eclipse 3.7

Free Resource

Discover how developers can easily discover existing APIs and back-end data sources and create new APIs and microservices based on the popular open-source Node.js Express and LoopBack® frameworks.  Brought to you in partnership with IBM.

This post will show you how to integrate GlassFish 3.0.1 with Eclipse 3.7.

  1. Download the zip archive for GlassFish from here.
  2. Unzip it using the following command.
    unzip glassfish-3.0.1.zip 
    
  3. Move GlassFish installation directory to a more suitable place.
    sudo mv glassfishv3 /opt
    
  4. Open Eclipse.
    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.


Learn about the comprehensive capabilities to create, run, manage, secure and monetize APIs and microservices with API Connect.  Brought to you in partnership with IBM.

Topics:

Published at DZone with permission of Pavithra Gunasekara, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}