Jakarta EE Programming/IDE/Eclipse

Eclipse edit

Goals 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 edit

requirements 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

Action edit

Building an example application edit

Lomboz edit

Building an example application edit

how to build a prg in lomboz.

other plugins edit

Building an example application edit

further reading edit

links edit