Jakarta EE Programming/IDE/Eclipse

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Eclipse[edit | edit source]

Goals[edit | edit source]

  • 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 | edit source]

  • 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 | edit source]

requirements[edit | edit source]

  • 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 | edit source]

  • 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 | edit source]

  • Your needed plugins depend on your project's goal

The Ecplise Web Tools Platform Project[edit | edit source]

  • 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 | edit source]

Action[edit | edit source]

Building an example application[edit | edit source]

Lomboz[edit | edit source]

Building an example application[edit | edit source]

how to build a prg in lomboz.

other plugins[edit | edit source]

Building an example application[edit | edit source]

further reading[edit | edit source]

links[edit | edit source]