Hi Zahid,
I also noticed that the installation Instructions for
the J2EE is missing on the Sun site. All references are
incorrect.
Here are the instructions (I edited them a bit) and
they are only for Linux.
Installing the Linux Software Bundle
1. Change to the directory where you want to install the software.
For example, if you want to install the software under /usr/local you
would
type this command:
cd /usr/local
In step 3, unpacking the bundle automatically creates a subdirectory
called
j2sdkee1.2.1.
2. If you downloaded the software into multiple files, you must
concatenate
them together.
Note: If you downloaded the software as a single bundle, you should skip
this
step.
To concatenate the files, you must have enough disk space for all the
individual
files plus an
equal amount for the resulting self-extracting archive.
Execute the following command to concatenate the downloaded files into a
single
file:
cat j2sdkee-1_2_1-linux-* > j2sdkee-1_2_1-linux.tar.gz
3. Unpack the download bundle.
The download bundle for the software is in the
j2sdkee-1_2_1-linux.tar.gz
file.
To uncompress
and unpack the download bundle bundle, run this command:
tar xvzf j2sdkee-1_2_1-linux.tar.gz
After you agree to the license, the j2sdkee1.2.1 directory is created
and
the
software is installed
into it.
4. Edit the user configuration script.
The Java 2 SDK, Enterprise Edition relies on the environment variables
that
are set in the user
configuration script. This script is in the userconfig.sh file of the
bin
directory
of your installation.
The userconfig.sh file sets these environment variables:
J2EE_CLASSPATH - the classpath referenced by the J2EE server.
J2EE_CLASSPATH must include the location of JDBC driver classes
(except
for those
used by the Cloudscape DBMS included in this download bundle). Each
location
is
delimited by a colon. J2EE_CLASSPATH does not need to include the
Java
2 SDK,
Enterprise Edition classes (j2ee-jar); the Java 2 SDK, Standard
Edition
software; or the
classes contained in the enterprise application.
JAVA_HOME - the absolute path of the directory in which the Java 2
SDK,
Standard
Edition is installed.
Here's an example of how you might edit the userconfig.sh file:
J2EE_CLASSPATH=/opt/oracle/jdbc:/usr/local/db/driver.zip
export J2EE_CLASSPATH
JAVA_HOME=/usr/local/java/jdk1.2.2
export JAVA_HOME
5. Install the documentation.
If you haven't already done so, install the documentation bundle. See
the
next
section for
instructions.
6. See "Where do I go from here?"
Installing the Linux Documentation Bundle
1. Change to the directory above the one in which you've installed the
software.
For example, if you installed the software in
/usr/local/j2sdkee1.2.1
you
would type this
command:
cd /usr/local
2. Unpack the download bundle.
The download bundle for the documentation is in the
j2sdkee-1_2_1-doc-linux.tar.gz
file. To
uncompress and unpack the bundle, run this command:
tar xvzf j2sdkee-1_2_1-doc-linux.tar.gz
The j2sdkee1.2.1/doc directory is created and the documentation is
installed
into it.
3. See "Where do I go from here?"
Where do I go from here?
After you've installed the documentation, you can use your browser to
read
the following HTML files.
The Release Notes list software requirements, supported platforms, and
current
limitations. The
Release Notes are in the doc/release/ReleaseNotes.html file.
The Configuration Guide explains how to configure JDBC drivers and
various
J2EE properties. If you
are using the Cloudscape DBMS included with the J2EE software bundle,
you
do not have to configure
the Cloudscape JDBC drivers. The Configuration Guide is in the
doc/release/ConfigGuide.html
file.
The Getting Started chapter explains how to code, deploy, and run a
simple
client-server application
that uses an enterprise bean. The Getting Started chapter is in the
doc/guides/ejb/html/Started.fm.html
file.
The main page of the J2EE SDK documentation bundle is in the
doc/index.html
file. We recommend
that you add a bookmark to this file in your browser.
The Code Examples appendix lists the sample enterprise beans
documented
and
shipped with this
release. The appendix is in the
doc/guides/ejb/html/ZExamplesAppend.fm.html
file. The source code
for the examples is in the doc/guides/ejb/examples directory.
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".