Jakarta EE Programming/IDE/Eclipse
Eclipse
editGoals
edit- 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
edit- 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
editrequirements
edit- 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
edit- 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
edit- Your needed plugins depend on your project's goal
The Ecplise Web Tools Platform Project
edit- 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
edit- 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)
Action
edit- url for update manager: http://download.eclipse.org/webtools/updates/
- documentation: http://download.eclipse.org/webtools/updates/
Building an example application
editLomboz
editBuilding an example application
edithow to build a prg in lomboz.