Java 2 SDK267
[echo] Starting JBoss (redirected /opt/jboss-all/build/
run.log)
run-jboss-check-os:
_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-unix:
If everything goes well, the startup will be successful. You can see a log of messages in the
build/run.log
file. You can also run Jboss using the
run.sh
script.
9.4Java 2 SDK
Java SDK is distributed by Sun Microsystems. There are two main versions of the SDK. The
Standard Edition
or J2SE is introduced in this book. The
Enterprise Edition
or J2EE is the pre-
mier product and it is comparable to Jboss discussed in this book. Please note that neither of
J2SE nor J2EE are open source products. You have a limited license to use these. Please go
through the license terms and conditions if you are inclined towards using Java SDK.
At the time of writing this book, Version 1.4 of the SDK is available.
9.4.1Java 2 SDK Standard Edition
The latest version of Java SDK released by Sun Microsystems is 1.4 at the time of writ-
ing this book. There are some new features added to this version. Some important features are
listed here.
9.4.1.1Non-blocking I/O
After a long waiting period, a non-blocking I/O library is finally added to the SDK as
java.nio
package. Non-blocking I/O is important when you don’t want to create threads for
each connection in large network application. Creation of threads is very expensive compared to
non-blocking I/O where you can open many I/O streams and use mechanisms similar to
poll()
and
select()
which are available with C language since long. Using this mecha-
nism one thread may handle several connections, for example in the case of a web server.
Next Page >>
<< Previous Page
Back to the Table of Contents