Miles to go …

January 17, 2009

TOTD #66: GlassFish Eclipse Plugin 1.0.16 – Install v3 Prelude from the IDE

Filed under: General — arungupta @ 5:00 am

GlassFish Plugins team released ver 1.0.16 of Eclipse plugin for GlassFish. The team has maintained pretty good cadence in terms of adding features and fixing bugs in the plugin (16 releases in approx as many months). However this particular version has an exciting feature. It allows GlassFish v3 Prelude to be installed from within the IDE itself.

If you have not installed GlassFish plugin in your Eclipse earlier then screencast #28 shows how to get started. However the screencast requires you to pre-install GlassFish outside the IDE. Instead, as explained in this blog, you can skip to here and install the Application Server from within the IDE.

If you have a previous installation of GlassFish plugin, then it needs to be updated using the steps described below. And finally install the Application Server from wtihin the IDE.

Lets get started!

In Eclipse, go to “Help” menu item, “Software Updates …” and it shows the complete list of plugins installed along with their versions …

GlassFish plugin version is 1.0.14 in this case. Click on “Available Software” tab to show all the available updates as shown below:

The GlassFish plugin update site is automatically added to the list of managed sites once you install the plugin, but it is not automatically checked as active. The issue #45 provide more details but in the mean while check the website explicitly by clicking on “Manage Sites …” and selecting “https://ajax.dev.java.net/eclipse” as shown below …

Click on “OK” and the list of “Available Software” is now updated to include GlassFish server. Notice, the latest version (1.0.16 in this case) is shown as well.

Select the plugin to be installed …

Click on “Install …”

Click on “Next >” and then “Finish”. Now your Eclipse is updated with the latest GlassFish plugin.

Lets add a new Server instance. In the “Servers” tab, right-click and select “New”, “Server” …

Select “GlassFish v3 Prelude” after expanding the “GlassFish” tree …

Name the server if you like or take default and click on “Next”.

Notice “Install Server” button, this is the new functionality added in version 1.0.16 of the plugin. Specify a directory name and click on “Install Server”. This will automatically download the GlassFish v3 Prelude server and install in the specified directory.

Of course, you need to accept the License …

Click on “Finish” and GlassFish is downloaded and installed for you (finished in few seconds for me :) and shows the following window:

Clicking on “Next >” walks you through the standard GlassFish configuration options:

More details on how to leverage the powerful GlassFish server are available in the documentation. The screencast #28 shows some of the GlassFish/Eclipse integration features in an easy to use manner.

Please ask any questions or send any feedback to .

Please leave suggestions on other TOTD (Tip Of The Day) that you’d like to see. A complete archive of all tips is available here.

Technorati: totd glassfish eclipse v3

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • StumbleUpon
  • Technorati
  • Twitter
  • Slashdot
Related posts:
  1. TOTD #115: GlassFish in Eclipse – Integrated Bundle, Install Stand-alone or Update Existing plugin
  2. TOTD #97: GlassFish Plugin with Eclipse 3.5
  3. TOTD #102: Java EE 6 (Servlet 3.0 and EJB 3.1) wizards in Eclipse
  4. Screencast #28: Simple Web Application using Eclipse and GlassFish v3 Prelude
  5. TOTD #83: Eclipse Tools Bundle for GlassFish 1.0 – Now Available!

10 Comments »

  1. Thanks Arun this is useful. Note the URL for the update site is https://ajax.dev.java.net/eclipse (notice https, not http). It seems that Eclipse doesn’t follow redirects from http to https. Restarting Eclipse doesn’t hurt too when the instructions here don’t seem to work :)

    Comment by Alexis MP — January 18, 2009 @ 3:17 am

  2. Fixed, that seems like a Eclipse bug too :)

    Comment by Arun Gupta — January 18, 2009 @ 9:36 am

  3. Thanks! I’m no security expert but I’m not sure following redirects between http and https really qualifies as a bug. These are two different protocols.

    Comment by Alexis MP — January 18, 2009 @ 11:02 am

  4. aha, that’s right! But your comment make it seem like a bug to me :)

    Comment by Arun Gupta — January 18, 2009 @ 2:06 pm

  5. Thanks for posting this, Arun! BTW, version 1.0.17 is available now.

    Comment by Rochelle Raccah — January 18, 2009 @ 11:15 pm

  6. thanks aran gupta.You were given good information.perfect posting.

    Comment by sinema izle — March 10, 2009 @ 1:52 pm

  7. [Trackback] EclipseCon started earlier today and we are announcing the availbility of GlassFish Tools Bundle for Eclipse. Eclipse and GlassFish in one single download bundle, available here. Here are simple steps to get you started … Download the binary fo…

    Comment by Arun Gupta's Blog — March 24, 2009 @ 2:32 pm

  8. [Trackback] EclipseCon started earlier today and we are announcing the availbility of GlassFish Tools Bundle for Eclipse. Eclipse and GlassFish in one single download bundle, available here. Here are simple steps to get you started … Download the binary fo…

    Comment by Arun Gupta's Blog — March 24, 2009 @ 2:33 pm

  9. [Trackback] The GlassFish Tools Bundle for Eclipse 1.0 is now available. An earlier blog entry explains how to get started using this bundle. If you used an earlier version (0.99.x) of this bundle, then an upgrade is not supported. However…

    Comment by Arun Gupta's Blog — May 22, 2009 @ 6:07 am

  10. [Trackback] What is an Eclipse Demo Camp ? The Eclipse DemoCamps are an opportunity to showcase all of the cool interesting technology being built by the Eclipse community. They are also an opportunity for you to meet Eclipse enthusiasts in…

    Comment by Arun Gupta's Blog — June 16, 2009 @ 5:26 pm

RSS feed for comments on this post. TrackBack URL

Leave a comment

The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.
Powered by WordPress