Tutorial
for Building a J2EE Application Using JRun
By: Rosemary Marano
Senior Technical Writer
Macromedia
This tutorial shows you how to build a simple J2EE application.
In the tutorial lessons, you add a JRun Server, create a
new enterprise application, and write the code for Java
servlets, JavaServer Pages (JSP), JavaBeans, and Enterprise
JavaBeans (EJB). You learn how to combine these elements
to produce a flexible and scalable J2EE application.
Setting Up the Development Environment
Before beginning the tutorial, ensure that you set up your
development environment.
To set up the development environment:
| 1. |
Install
the following software:
| · |
Web
browser |
| · |
Web
server |
| · |
JRun
Server 3.1 Enterprise or Developer Edition (versions
that offer EJB support) |
| · |
Text
editor or Java integrated development environment
(IDE) |
|
| 2. |
Install
the JDK 1.2 (or later). |
| 3. |
Include
the JDK bin directory in the system path. |
| 4. |
Download
the tutorial files and place them in the following directories:
|
| Platform |
Directory |
| Windows
95/98/NT/2000 |
| · |
Unzip
compass.zip in a local directory (referred to
as tutorial_install_dir). |
| · |
Copy
compass.dbn and compass$1.wal from tutorial_install_dir/database
into the JRun_Home/pointbase/databases/
directory (JRun_Home is the directory
into which you installed JRun). |
|
| Solaris
and UNIX |
| · |
Unzip
compass.zip in your home directory. |
| · |
Copy
compass.dbn and compass$1.wal from tutorial_install_dir/database
into the $JRun_Home/pointbase/databases/directory($JRun_Home
is the directory into which you installed JRun).
|
|
| Linux
and UNIX with GNU tar and gzip |
| · |
tar
xzf compass.tar.gz in your home directory. |
| · |
Copy compass.dbn and compass$1.wal from tutorial_install_dir/database
into the $JRun_Home/pointbase/databases/
directory($JRun_Home is the directory
into which you installed JRun). |
|
The zip files referred to within the article are available
by clicking below:
Click
here to download PDF of full article.
|