Search |
|||
GlassFish on Eclipse GanymedePosted by arungupta on June 27, 2008 at 6:13 AM PDT
This blog shows how GlassFish v3 can be easily registered and started in Ganymede. Let's get started! Download Ganymede and GlassFish v3 TP2 or build the latest workspace. Check Eclipse version by selecting "Eclipse", "About Eclipse platform" menu item. The window shows: ![]() Now follows the screenshots as described in screencast #ws6 but this time for Ganymede instead of Eclipse Europa: Create a new server ... ![]() ... and the window shows the list of default servers ... ![]() ... click on "Download additional server adapters" to see GlassFish in the list ... ![]() ... select "GlassFish Java EE 5 Server" and click on "Next >" ... ![]() ... accept the license and take all other defaults. The IDE needs to be restarted and then again you add a new server ... ![]() ... and this time choose "GlassFish V3 SNAPSHOT" ... ![]() and specify the location of downloaded/built GlassFish v3 server. Now create a new project ... ![]() ... give it a name ... ![]() ... and ensure the "Target Runtime" is "GlassFish V3 SNAPSHOT". And the default project structure is shown below ... ![]() ... and now add a JSP ... ![]() ... and give it a name ... ![]() ... and then select a template ... ![]() ... and add some content to it ... ![]() ... and then deploy on GlassFish by selecting "Run As", "Run on Server" ... ![]() ... and selecting "GlassFish V3 SNAPSHOT" as the server ... ![]() and click on "Finish" to see the result ... ![]() and that's it! As a next step, you can try installing Metro on TP2 and then deploy your Web service using Eclipse. If you face any problems then send email to users@GF or post a question to GlassFish Forum. And if you are interested in a tighter integration of GlassFish v3 with an IDE - NetBeans provides that solution as shown in screencast #24. Technorati: eclipse ganymede glassfish v3 »
Related Topics >>
Eclipse Comments
Comments are listed in date ascending order (oldest first)
Submitted by macgibbon on Wed, 2008-07-02 18:26.
Hmm, I am getting "org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP" error with GlassFish V3 TP2 with Windows XP. I have get the same error with either JDK 1.5.09 or JDK 1.6.0. Is there something I need to configure for the compiler, have tried adding tools.jar to the classpath.
Submitted by arungupta on Tue, 2008-07-08 12:37.
macgibbon, There should be no need to configure any additional plugins. Although I tried on Windows Vista & Mac OS.
|
|||
|
|