Java Technology Home Page
A-Z Index

Java Developer Connection(SM)
Online Training

Downloads, APIs, Documentation
Java Developer Connection
Tutorials, Tech Articles, Training
Online Support
Community Discussion
News & Events from Everywhere
Products from Everywhere
How Java Technology is Used Worldwide
 
Training Index

Step 1: Installing an Enterprise JavaBeans Server

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.

  1. Download BEA WebLogic's server from the BEA WebLogic web site:

    http://www.weblogic.com/licbeta.html

  2. 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.

  3. Download the latest version of the Java Development KitTM from the Java Development Kit for SolarisTM web site:

    http://www.sun.com/solaris/java

  4. 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

  5. Edit the BEA WebLogic properties file weblogic.properties

    Set the system password property, weblogic.password.system

  6. 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 >>


[ This page was updated: 5-Nov-99 ]

Products & APIs | Developer Connection | Docs & Training | Online Support
Community Discussion | Industry News | Solutions Marketplace | Case Studies
Glossary - Applets - Tutorial - Employment - Business & Licensing - Java Store - Java in the Real World
FAQ | Feedback | Map | A-Z Index
For more information on Java technology
and other software from Sun Microsystems, call:
(800) 786-7638
Outside the U.S. and Canada, dial your country's AT&T Direct Access Number first.
Sun Microsystems, Inc.
Copyright © 1995-99 Sun Microsystems, Inc.
All Rights Reserved. Legal Terms. Privacy Policy.