 |
GlassFish v3 TP2 on Eclipse
Posted by arungupta on May 16, 2008 at 09:28 AM | Comments (8)
Screencast
#WS6 showed how to configure GlassFish in Eclipse IDE. With GlassFish
v3 TP2, the plug-in is also updated. Here are snapshots
showing how easy it is to install GlassFish in Eclipse. The snapshots
follow the steps outlined in screencast
#ws6 anyway.
Download Eclipse
IDE for Java EE Developers and install. Check the version ...

... add a new server (in order to install GlassFish adapter) ...

... click on "Download additional server adapters" ...

... select "GlassFish Java EE 5 Server" adapter ...

... click on "Next >" and follow the steps ...

... the IDE restarts after adapter installation is complete. While the
IDE is restarting, download GlassFish
v3 TP2 and unzip (single zip for multiple platforms). After
the IDE is restarted, add a new server (following the steps above) and
filter on "glassfish" ...

... click on "Next >" and select the location of GlassFish v3
TP2 installation ...

... click on "Finish" to see the following window ...

... click on sideways white triangle in green circle to start GlassFish
and see the output console as ...

See how GlassFish starts up in less than 1 sec - and it is modular
(OSGi
compliant), embedable (run in-VM) and extensible (non-Java apps).
And as Ludo reported,
it also runs in embedded mode.
Technorati: glassfish
eclipse
v3
Bookmark blog post: del.icio.us Digg DZone Furl Reddit
Comments
Comments are listed in date ascending order (oldest first) | Post Comment
-
after "download additional server adapters" - i still see: Prelude & SNAPSHOT, no tp2 - so i can't select an application server directory because it can't get a match for correct version of glassfish-10.0.jar
Posted by: autohandle on August 27, 2008 at 08:42 AM
-
the plugin and feature version that was downloaded was 1.0.7.
Posted by: autohandle on August 27, 2008 at 08:55 AM
-
Yes, 1.0.7 is the latest version released recently.
Posted by: arungupta on August 27, 2008 at 08:59 AM
-
In general, we try to track only 2 versions for V3, so the current ones are either nightly snapshots or promoted builds.
See http://download.java.net/glassfish/v3/nightly/ for the nightlies.
TP2 is way too old (may 2008), and was a tech preview. You should stop using it now.
Ludo
Posted by: ludo on August 27, 2008 at 09:15 AM
-
so any idea why i see Prelude & SNAPSHOT, instead of tp2? right now, for each error message, i'm going through and doing symbolic links from the name it is looking for to the tp2.jar - i have my fingers crossed.
Posted by: autohandle on August 27, 2008 at 09:19 AM
-
ok, thanks - i'm switching right away.
Posted by: autohandle on August 27, 2008 at 09:29 AM
-
so the glassfish server adapter only shows up if the host name is: localhost, is that intensional? if i type anthing else in, another host name or an ip address and click "Download ..", the other adpaters show up, but not glassfish.
Posted by: autohandle on August 27, 2008 at 10:37 AM
-
I just tried this and for the download part, they all show up, but for the actual creation of the new server, when it is changed to something other than localhost, most of the choices (including glassfish) disappear. I suspect this is because we don't (yet) support remote servers. See enhancement request https://glassfishplugins.dev.java.net/issues/show_bug.cgi?id=22.
Thanks for your comments, and if you have further comments, please post them to users@glassfishplugins.dev.java.net.
Posted by: raccah on August 27, 2008 at 04:14 PM
|