Technical Support
Discussion Forum
Online Training
Technical Articles
Bug Parade
JDC Resources
DukeDollars
Early Access
Toolbar
Community Process
Technology Sites

JDC Home Page

Solaris Developer Connection

Java Technology
java.sun.com

Java Industry Connection

Log Out

Online Training
SearchFAQContact Us

Online 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





Questions?
22-Apr-99
Copyright © 1996-1999 Sun Microsystems Inc.
All Rights Reserved. Legal Terms. Privacy Policy.
Sun Microsystems