# LAB-7001: Using Eclipse to Develop for the GlassFish Server

Expected Duration: 60 minutes
Contacts: Davis Nguyen, Rochelle Raccah

Introduction | Exercise 0 | Exercise 1 | Exercise 2 | Summary
Prerequisites System Software Notations Exercises Resources Questions Last Updated: May 08, 2009 The GlassFish open-source application server is the Java Platform, Enterprise Edition (Java EE) reference implementation built for mission-critical enterprise deployments. The Eclipse Tools Project is an open source project of eclipse.org, overseen by a Project Management Committee (PMC) and project leaders. The GlassFish Plugin project is an open source project from the Java Development Community that is enables IDE users to develop, deploy and run their Java EE applications using their favorite IDEs. The current plugin is developed for GlassFish v1, v2, v3 Prelude, v3 Enterprise (promoted build), Saifin v1 and Sun Application Server 8.1 and 8.2 (J2EE SDK Reference Implementation). This lab will present the GlassFish Tools Bundle for Eclipse. The lab also shows how latest Java EE technologies such as JSP, Servlet 3.0 and JPA projects are built and deployed to GlassFish using Eclipse. Copyright
    Copyright 2009 Sun Microsystems, Inc. All rights reserved. Sun, Sun Microsystems,
    the Sun logo, Solaris, Java, the Java Coffee Cup logo, JavaOne, the JavaOne logo,
    and all Solaris-based and Java-based marks and logos are trademarks or registered
    trademarks of Sun Microsystems, Inc. in the United States and other countries.
### Prerequisites This hands-on lab assumes you have some basic knowledge of, or programming experience in, the following technologies: Java EE technology GlassFish Servers and Eclipse IDE ### System Requirements JDK 1.6.0_12 or above (except for Mac OS) Supported OS: WinXP SP2, Mac OS X , Linux (Redhat or Ubuntu) Memory requirement: 1G Disk space requirement: 600MB ### Software Needed For This Lab Please install the following set of software. If you have any questions on installation, please feel free to send questions to the lab forum mentioned below. Download and install the GlassFish Tools Bundle for Eclipse Download and unzip this 7001_glassfisheclipse.zip lab file under directory of your choice Read <lab-root>/intro.html to proceed ### Notations Used in This Documentation `<lab_root>` - directory into which lab zip file is unzipped This document uses `<lab_root>` to denote the directory under which you have unzipped the lab zip file of this hands-on lab. The name of the lab zip file of this hands-on lab is 7001_glassfisheclipse.zip. Once you unzipped the lab zip file under `<lab_root>`, it will create a subdirectory called 7001_glassfisheclipse. For example, under Linux, if you have unzipped the lab zip file in the /home/rochelle directory, it will create /home/rochelle/7001_glassfisheclipse directory. Under windows if you unzip the lab file to the drive C: then you will have C:/7001_glassfisheclipse <BUNDLE_HOME> - default directory Window: C:/Program Files/GlassFish-Tools-Bundle-For-Eclipse-<version> Mac OS: /Applications/GlassFish-Tools-Bundle-For-Eclipse-<version>.app Linux: /opt/GlassFish-Tools-Bundle-For-Eclipse-<version> GlassFish Servers: V2.1: <BUNDLE_HOME>/glassfishv2.1 V3 Prelude: <BUNDLE_HOME>/glassfishV3-prelude ### Lab Exercises Exercise 0: Install and Configure the Lab Environment Exercise 1: Introduce to GlassFish Tools Bundle for Eclipse Exercise 2: Create some basic Java EE projects using the GlassFish v3 Prelude application server ### Additional Resources Lab Presentation GlassFish Quick Start Guides Eclipse GlassFish Tools Bundle for Eclipse Release Notes Eclipse 3.4 and GlassFish v3 Prelude integration ### Where To Go For Help You can send technical questions via email to the authors of this Hands-on lab (and experts on the subject) or you can send your questions to the public users alias: users@glassfishplugins.dev.java.net For general questions and feedback on JavaOne Hands-On Labs, please use the JavaOne2009_HOL_Forum Back to top To exercises | ### Related Resources Java SE for Business Compatibility Timezone Updates ##### Related Downloads Bundle GlassFish Eclipse Plugin GlassFish Plugin GlassFish Server Eclipse IDE ##### Popular Topics JDK 6 Adoption Guide ##### Sun Resources BigAdmin (sysadmin resources) Sun Web Learning Center Java Training ##### Related Sites java.com java.net Open-Source Java Project Open-Source Eclipse Plugin Project GlassFish Plugin Java EE SDK Eclipse ### Getting Started? New to Java Center Java Tutorial: Getting Started Tutorials Java SE Training