Chapter 1
![]()
Configuration of ECLIPSE to use JBOSS and LOMBOZ
Install Eclipse.
First of all we have to set up Eclipse Integrated Development Environment (IDE) with JBOSS as our application server.
So go to this page: http://www.eclipse.org/downloads/index.php and download the binary for the Eclipse editor. You can download the appropriate binary for your platform. This tutorial was developed using Linux (Red Hat 8.0) as the operating system.
Example : eclipse-SDK-2.1-linux-gtk.zip, eclipse-SDK-2.1-win32.zip
Note : Eclipse does not include a Java runtime environment (JRE). You will need at least a 1.3 level Java runtime or Java development kit (JDK) installed on your machine in order to run Eclipse.
Now unzip this file into your home directory.
- [vishal@localhost eclipse]$ unzip eclipse-SDK-2.1-linux-gtk.zip
- Archive: eclipse-SDK-2.1-linux-gtk.zip
- Archive: eclipse-SDK-2.1-linux-gtk.zip
- inflating: eclipse/plugins/org.eclipse.core.boot_2.1.0/boot.jar
- inflating: eclipse/plugins/org.eclipse.core.boot_2.1.0/splash.bmp
- inflating: eclipse/plugins/org.eclipse.core.boot_2.1.0/boot.xml
- inflating: eclipse/plugins/org.eclipse.core.boot_2.1.0/plugin.properties
- -----------------------------------------------------------------------------
- ----------------------------------------------------------------------------
- -------------------------------------------------------------------------
- inflating: eclipse/install.ini
- inflating: eclipse/startup.jar
- inflating: eclipse/readme/readme_eclipse.html
- Archive: eclipse-SDK-2.1-linux-gtk.zip
- [vishal@localhost eclipse]$ cd eclipse
- [vishal@localhost eclipse]$ ls
- cpl-v10.html features install.ini plugins startup.jar
- eclipse icon.xpm notice.html readme workspace
- [vishal@localhost eclipse]$ ./eclipse
- [vishal@localhost eclipse]$ ls
This will run the Eclipse IDE on your workstation. Let's get familiar with this environment.

Install JBOSS.
Now Eclipse is installed and is running on your workstation, let's install JBOSS.
You can download JBOSS ready to run. Because JBOSS comes with a simple embedded Database (Hypersonic) and a web server (JBossWEB or Tomcat) you can use it out of the box without any initial configuration. Downloads can be accessed from either the JBOSS Project Page on SourceForge where you will always find up to date downloads (http://sourceforge.net/projects/jboss), or from the JBOSS Home Page where you will find useful information about JBoss, the official, free forums, project information etc., and also the download page http://www.jboss.org/downloads.jsp. For this tutorial we are using JBOSS-3.2.1 with the built-in 'Jetty' JBOSSWeb HTTP sever.
Example : jboss-3.2.1.zip (includes JBossWeb HTTP server and JSP/Servlet engine, EJB, CMP2.0, JCA, IIOP, Clustering, JTS, JMX.)
Note : JBOSS does not include a Java runtime environment (JRE).
First login as user 'root' and then unzip this file in a suitable place where you have enough space. I have unzipped it under an /opt/jboss/ directory. 上一页 下一页






