JBoss AS (Application Server) 7 is an open source application server from RedHat. JBoss AS 7 implements the JEE 6 specifications, which include the Java Servlet and JavaServer Pages specifications, as well as other parts of the JEE6 specification. The latest community version of the JBoss AS 7 server is 7.1.1 Final, and it will be used for the examples in this chapter.
The JBoss AS 7 application server can be downloaded from http://www.jboss.org/jbossas/downloads.
Decompress the JBoss AS 7 file in the ${HOME}
directory on Linux systems or C:
on Windows systems.
Set the
JBOSS_HOME
environment variable and create the JBoss AS 7 management user on Linux:
export JBOSS_HOME=${HOME}/jboss-as-7.1.1.Final ${JBOSS_HOME}/bin/add-user.sh
Set the JBOSS_HOME
environment variable, and create the JBoss AS 7 management user on Windows:
set JBOSS_HOME=C:\jboss-as-7.1.1.Final%JBOSS_HOME%\bin\add-user.bat
For the add-user prompts, answer the following series of questions as...