411 REFERENCE · Wikibooks
Jakarta EE Programming/IDE/Eclipse
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Eclipse
Goals
learn how to set up eclipse
learn which plugins are available for developing j2ee applications
develop a basic example, compile it and deploy it
What is Eclipse
Eclipse is an Integrated Development Environment written in Java by IBM
Eclipse is Open-Source-Software
Eclipse offers many plugin to use for different tasks
Set Up Eclipse
requirements
your installed JDK is working, to check it enter in a shell:
java -version
result should be something like
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode)
action
go to http://www.eclipse.org/downloads/ and download the Eclipse which matches your platform
this book assumes you use version 3.2.1
untar eclipse-SDK-3.2.1-linux-gtk.tar.gz
change to directory eclipse
start eclipse
if you have never worked with eclipse before, you should do the tutorials
plugins are installed via Update Manager
Help->Software Updates->Find and Install
Select Search for New features
Set Up Plugins
Your needed plugins depend on your project's goal
The Ecplise Web Tools Platform Project
You want to develop a J2EE Web-application
Consists of source editors for HTML, JavaScript, CSS, JSP, SQL, XML, DTD, XSD, and WSDL; graphical editors for XSD and WSDL
project homepage: http://www.eclipse.org/webtools/index.html
Requirements
Graphical Editing Framework (GEF)
url for update manager: http://download.eclipse.org/tools/gef/update-site/releases/site.xml
documentation: GEF http://wiki.eclipse.org/index.php/GEF_Developer_FAQ#Download_and_Install
Visual Editor (VE)
urls for update manager:
http://update.eclipse.org/tools/ve/updates/1.0
http://update.eclipse.org/tools/emf/updates
http://update.eclipse.org/updates/3.0
documentation: http://www.eclipse.org/vep/WebContent/faq.html#install_howto
Action
url for update manager: http://download.eclipse.org/webtools/updates/
documentation: http://download.eclipse.org/webtools/updates/
Building an example application
Lomboz
Building an example application
how to build a prg in lomboz.
other plugins
Building an example application
further reading
links
Home of Eclipse Project