266Chapter9 • Platform Independent Development with Java
9.3The Jboss Java Development System
The Jboss is probably the most popular open source Java development products suite and it pro-
vides services similar to Sun’s Java 2 Enterprise Edition (J2EE). You can download it from free
from http://www.jboss.org. The best thing about Jboss is that it is open source and free for use.
At the time of writing this book Jboss version 2.4.4 is the stable release. Since J2EE is a big plat-
form and this is not a programming tutorial text, you will learn only how to install the Jboss
package here.
Following is a step-by-step outline how to build Jboss on Linux system.
•Download the latest version
jboss-all.tgz
from its web site.
•Unpack it using the
tar zxvf jboss-all.tgz command
•You must have Java SDK installed to build it and JAVA_HOME variable properly set. Use
the “
export JAVA_HOME=/usr/java/j2sdk1.4.0/
” command if you have
SDK version 1.4 installed. If you have any other environment, use appropriate command.
•Go to
jboss-all
directory.
•Run the following command and it should display a result like the one shown.
[root@conformix jboss-all]# ./build/build.sh -version
Ant version 1.4 compiled on September 3 2001
[root@conformix jboss-all]#
•Execute the
build/build.sh init
command.
•Run the
build/build.sh
command.
•Run Jboss using the following command. It will show a list of message as it starts
different processes.
[root@conformix jboss-all]# ./build/build.sh run-jboss
Searching for build.xml ...
Buildfile: /opt/jboss-all/build/build.xml
_buildmagic:init:
_buildmagic:init:local-properties:
_buildmagic:init:buildlog:
configure:
[echo] groups: default
[echo] modules:
jmx,common,system,j2ee,naming,management,server,security,messa
ging,pool,connector,cluster,admin,jetty,varia,jboss.net,iiop
init:
run-jboss: