Enterprise JavaBeans components run inside Enterprise JavaBeans containers,
which are supplied by Enterprise JavaBeans server vendors. The instructions
below will assist in downloading and installing a BEA Weblogic server in
which the DemoBean will run.
Note: the installation instructions shown here
are for Sun Solaris, but the process is similar for Windows NT.
- Download BEA WebLogic's server from the BEA WebLogic web site:
http://www.weblogic.com/licbeta.html
- Extract the distribution using
jar or the unzip
utility. Throughout this tutorial it is assumed that Weblogic is installed in
the /export directory, for example, /export/weblogic .
- Download the latest version of the Java Development
KitTM from the Java Development Kit for
SolarisTM web site:
http://www.sun.com/solaris/java
- Set your CLASSPATH on the server host:
Add weblogic/classes and weblogic/lib/weblogicaux.jar to your Java
CLASSPATH. Make sure you have "." or your current
directory in the CLASSPATH as well.
Add weblogic/lib/solaris to your LD_LIBRARY_PATH
- Edit the BEA WebLogic properties file
weblogic.properties
Set the system password property, weblogic.password.system
- Start the Weblogic server using the
startTengah.sh script.
After following the steps in this tutorial to build and deploy the example
bean, check that the Enterprise JavaBeans bean has been deployed correctly,
either by checking the server command-line window, or by opening the Console
and examining "EJB" under the "Distributed Objects"; you
should see DemoBean deployed, and you can monitor its activity.
NEXT >>
|
|