TOTD #97: GlassFish Plugin with Eclipse 3.5


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
Comments:

thank you very much good very beautiful work

Posted by çiçekçi on August 23, 2009 at 11:50 PM PDT #

Thanks! Worked like a charm

Posted by Adam on September 24, 2009 at 09:43 AM PDT #

I could not figure how to connect to a remote domain.
Thank you

Posted by yariv on December 30, 2009 at 08:28 PM PST #

I could not figure out hot to register to remote domain?

Posted by yariv on December 30, 2009 at 08:30 PM PST #

Yariv, It's not possible to register/connect to a remote GlassFish domain using Eclipse.

Posted by Arun Gupta on February 23, 2010 at 09:09 AM PST #

Just super .........Very very thank you sir .

Posted by Karthik on January 30, 2011 at 07:13 PM PST #

Post a Comment:
Comments are closed for this entry.
About

profile image
Arun Gupta is a technology enthusiast, a passionate runner, author, and a community guy who works for Oracle Corp.


Java EE 7 Samples

Stay Connected

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today