Chapter 2. Quick Start

This chapter will help you set up Red Hat Application Server and run your first EJB application. If you do not understand all the steps, you should read the next two chapters to familiarize yourself with the details of setting up Red Hat Application Server.

2.1. Setting Up the Red Hat Application Server Environment

We assume that your JDK is already installed and configured.

Once you have installed your Red Hat Application Server distribution, you have to set up the JONAS_ROOT environment variable prior to using JOnAS or any of its tools. You will also have to update your PATH variable as well.

Open a new terminal and proceed as follows:

bash> export JONAS_ROOT=/usr/share/jonas
bash> export PATH=${PATH}:${JONAS_ROOT}/bin/unix