Miles to go …

August 21, 2009

TOTD #97: GlassFish Plugin with Eclipse 3.5

Filed under: eclipse, totd — Tags: , , , — arungupta @ 1:20 pm

A new version of GlassFish Tools Bundle for Eclipse (ver 1.1) was recently released. The build contains

  • Eclipse 3.4.2 IDE with WTP Java EE support
  • GlassFish v2.1 pre-registered and configured
  • GlassFish v3 Prelude pre-registered and configured
  • JavaDB sample database pre-registered and configured
  • GlassFish Plugin (1.0.29)
  • MySQL JDBC driver registered to the IDE
  • Maven m2 plugins
  • JAX-WS Metro plugin
  • GlassFish documentation
  • And optionally, a JDK 1.6.

The functionality is also available in GlassFish Plugin that can be installed on Eclipse 3.5. However because of the Eclipse bug #280365, the plugin cannot be installed directly using Server Adapters. The alternative is to install explicitly using the Update Site. The instructions to do the same are given below:

  1. In “Help”, “Install New Software”, click on “Available Software Sites”:

  2. Search for “ajax” to see the output as:

  3. Click on “Enabled” button to enable the site and see the change as below:

    click on “OK”.

  4. Expand the drop-down list box and chose the recently added “update site” as shown below:

    and it shows all the software available from that site as:

  5. Take the defaults, click on “Next” and it shows the GlassFish plugin version number as shown below:
  6. Click on “Next”, accept the license by clicking on  “I accept …” and click on “Finish” to start the installation.

    The IDE restarts after the installation is complete.

  7. Now a new server can be added using “Servers” tab and it shows GlassFish as an option as shown below:

The screencast #28 shows how to create a simple web application using GlassFish v3. Future blogs will show how to leverage the new functionality of JAX-WS Web services plugin and JPA Dali Tooling with GlassFish.

Please leave suggestions on other TOTD that you’d like to see. A complete archive of all the tips is available here.

Technorati: totd glassfish eclipse galileo

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • email
  • StumbleUpon
  • Technorati
  • Twitter
  • Slashdot
Related posts:
  1. TOTD #66: GlassFish Eclipse Plugin 1.0.16 – Install v3 Prelude from the IDE
  2. TOTD #115: GlassFish in Eclipse – Integrated Bundle, Install Stand-alone or Update Existing plugin
  3. TOTD #98: Create a Metro JAX-WS Web service using GlassFish Tools Bundle for Eclipse
  4. GlassFish at Eclipse Demo Camps Galileo 2009 – Jun 17th
  5. TOTD #69: GlassFish High Availability/Clustering using Sun Web Server + Load Balancer Plugin on Windows Vista

5 Comments »

  1. [...] Here is the original: TOTD #97: GlassFish Plugin with Eclipse 3.5 « Miles to go … [...]

    Pingback by TOTD #97: GlassFish Plugin with Eclipse 3.5 « Miles to go … « Meanings of Words — August 24, 2009 @ 7:13 pm

  2. [...] Arun Gupta is a technology enthusiast, a passionate runner, and a community guy who works for Sun Microsystems. And this is his blog! « « TOTD #97: GlassFish Plugin with Eclipse 3.5 [...]

    Pingback by TOTD #98: Create a Metro JAX-WS Web service using GlassFish Tools Bundle for Eclipse « Miles to go … — August 24, 2009 @ 11:10 pm

  3. [...] here, you might want to subscribe to the RSS feed for updates on this topic.Powered by WP Greet BoxTOTD #97 showed how to install GlassFish Tools Bundle for Eclipse 1.1. Basically there are two options [...]

    Pingback by TOTD #99: Creating a Java EE 6 application using MySQL, JPA 2.0 and Servlet 3.0 with GlassFish Tools Bundle for Eclipse « Miles to go … — August 30, 2009 @ 11:12 am

  4. [...] TOTD #97 showed how to install GlassFish Tools Bundle for Eclipse 1.1. Basically there are two options – either install Eclipse 3.4.2 with WTP and pre-bundled/configured with GlassFish v2/v3, MySQL JDBC driver and other features. Or if you are using Eclipse 3.5, then you can install the plug-in separately and get most of the functionality. [...]

    Pingback by TOTD #99: Creating a Java EE 6 application using MySQL, JPA 2.0 and Servlet 3.0 with GlassFish Tools Bundle for Eclipse - Technology — August 31, 2009 @ 10:04 am

  5. Thanks in advance…

    Comment by martosfre — March 29, 2010 @ 2:29 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