|The Eclipse Workbench is an open source platform, designed by IBM and released to the open source community. It is an open, portable, universal tooling platform that provides frameworks, services and tools for building tools.
In essence the workbench provides the tool infrastructure. With this infrastructure in place, the tool builders are able to focus on the actual building of their tools. The workbench has been designed for maximum flexibility to support the development of tools for new technologies that may merge in the future.
Industry leaders Borland, IBM, Merchant, QNX Software Systems, Rational Software, RedHat, SuSE, TogetherSoft, and WebGain formed the initial eclipse.org board of directors and began work on the Eclipse open source project.
More information about The Eclipse Workbench can be found at:
Eclipse FAQ can be found at:
The latest Eclipse version can be downloaded from: http://www.eclipse.org/downloads/
There are hundreds of plugins which you can add to Eclipse, for example plugins for testing, code management, uml, xml, etc. The Eclipse plugins can be found at: http://www.eclipseplugincentral.com/
Setup Eclipse for Web Development.
Operating system used
Windows XP Home Edition Version 5.1 SP 2
- Select button "Java Perspective".
If this button is not displayed, select button "Open a Perspective" | Other | Java
- Enter a project name (example): mobilefish_demo and press button Next.
- Press button "Add Folder"
- Press button "Create New Folder". The "New Folder" popup window is displayed. Enter Folder Name: src
Press button OK.
- A message will be displayed, select button Yes.
- Change the default output folder into: mobilefish_demo/WEB-INF/classes
- When Eclipse is installed, it does not automatically include jar files needed for web development. To add a jar file:
Select tab: Libraries
Press button: Add Variable
- Press button: Edit
- Press button: New
- This is a list of all jar files needed for web development and its location.
|When using servlets, ejb etc.
To add a jar file, for example j2ee.jar:
Enter a descriptive name for this file (e.g.: Name = J2EE_LIB)
File: Search the jar file
Press OK button
- Press OK button followed by Cancel button
- Press button: Add Variable
- Select variable J2EE_LIB and press OK button.
- Press Finish button.
- Web applications should be organized (preferred solution) using the following folder structure:
||The project name. Use a short project name and make it one word (example: mobilefish_demo).
Contains *.html, *.jsp files.
||Contains *.java files
||Contains web.xml, tag library descriptor (*.tld) files
||Contains *.class, *.properties files
||Contains *.jar, *.zip library files
The src folder contains all the Java sources. You should organise your sources (preferred solution) in the following packages:
||Contains small standalone applications.
- Create a mobilefish_demo.war file and drop the war file in the jboss deploy directory. For example: C:\Tools\jboss-3.0.4\server\default\deploy
Note: You do not need to create a war file, just create a folder:
and create the folders (mentioned in the table above), then copy all necessary files *.html, *.jsp, *.classes, *.xml, etc. in their corresponding folders.
- Start JBoss and enter URL: