installing and configuration. objectives you will be able to understand what is an j2ee application...
TRANSCRIPT
Installing and Configuration
Objectives
You will be able to understand what is an J2EE Application Server
You will learn how to install the JBOSS AS You will learn how to manage the JBOSS AS
JBOSS AS
Division of Red Hat that develops software products
The trademark used for all the products that the group makes, and an application server.
JBoss Application Server, commonly abbreviated as JBoss AS.
JBOSS AS
JBOSS AS : Installing the JBOSS AS
Install the JDK# ./jdk-1_5_0_17-solaris-i586.sh
# JAVA_HOME=/opt/jdk150_17
# PATH=$JAVA_HOME/bin:$PATH
Install the JBoss Application Server# mkdir /opt/jboss-server; cd /opt/jboss-server
# java –jar jboss-4.0.3SP1-installer.jar
Exploring the installation
/opt/jboss-server/jboss-4.0.3SP1/bin
/opt/jboss-server/jboss-4.0.3SP1/lib
/opt/jboss-server/jboss-4.0.3SP1/server
JBOSS Server Configuration
JBOSS AS : Container Arquitecture
Understanding server configuration
server/default/conf server/default/deploy server/default/deployers Server/default/lib
Understanding server/default/conf
Understanding server/default/conf
Understanding server/default/deploy
The deploy directory is where applications and services are deployed.
This is where you can deploy any application packages—for example, JAR, Web Archive (WAR), or Enterprise Archive (EAR)
Understanding server/default/deploy
The deployers directory contains all the JBoss AS services that are used to recognize
and deploy different application and archive types.
For example, the Tomcat container
Understanding server/default/lib
The lib directory holds server libraries that are shared across all services and applications within a configuration.
Understanding server/default generated directories
server/default/data server/default/log server/default/tmp Server/default/work
Starting the server
PATH=$PATH:/opt/jboss-server/jboss-4.0.3SP1/bin
JAVA_HOME=/opt/jdk15_12
PATH=$PATH:$JAVA_HOME/bin
# ./run.sh –c default
Starting the server
Stoping the server
PATH=$PATH:/opt/jboss-server/jboss-4.0.3SP1/bin
JAVA_HOME=/opt/jdk15_12
PATH=$PATH:$JAVA_HOME/bin
# ./shutdown.sh –S –server=jnp://<server_addr>:<server_port>