README for BEA WebLogic Server 6.0 EJB 2.0 Upgrade

This README contains instructions for locating and downloading the EJB 2.0 Upgrade for BEA WebLogic Server 6.0, which activates the BEA WebLogic Server implementation of Sun Microsystem's Enterprise JavaBeans 2.0 specification. It also tells you how to configure the upgrade to work in this environment.

BEA WebLogic Server provides you with a fully supported implementation of EJB 2.0. However to use the EJB 2.0 features with this release, you must first download a separate .jar file, called EJB20.jar, after you have installed WebLogic Server 6.0. This .jar file is needed to deploy and run Enterprise JavaBeans or to run the EJB 2.0 examples in the WebLogic Server 6.0 environment.

This EJB 2.0 implementation is based on a nonfinal version of Sun Microsystem's Enterprise JavaBeans specification. Because of this, certain EJB 2.0 features are not yet available. This implementation can be used in production, but it is subject to change as the specification becomes finalized. This may cause application code developed for WebLogic Server 6.0 to be incompatible with EJB implementations supported in future releases.

To provide developers with access to the latest in enterprise Java technology, BEA Weblogic is offering this pre-release version of the Enterprise JavaBeans specification. Known differences between this container and the publicly available Enterprise Java Beans 2.0 specification are acknowledged in the BEA WebLogic Server 6.0 EJB documentation where applicable.

Refer to Installing WebLogic Server for instructions on installing WebLogic Server 6.0.

Refer to Programming WebLogic Enterprise JavaBeans for instructions on using the EJB 2.0 features.

Downloading EJB20.jar

To download the EJB20.jar file:

  1. In your browser, go to the BEA web site.
  2. Click the download button at the top of the page.
  3. Click the BEA WebLogic Server option.
  4. Choose the EJB 2.0 download option to download a zip file that contains the ejb20.jar file and the README file.

Installing EJB20.jar

You can download the EJB20.jar file to any location on your computer. However, we recommend that you copy it to the /lib directory of the WebLogic Server 6.0 distribution. This way, it will automatically be included in the server's CLASSPATH.

Configuring the CLASSPATH

If you choose to install EJB20.jar in a location other than the WebLogic Server 6.0 /lib directory, you must manually update your CLASSPATH.

To update the CLASSPATH:

  1. In a text editor, open setExampleEnv.cmd. This file is located in the /config/examples directory of your WebLogic Server 6.0 distribution.
  2. Update the CLASSPATH setting to include the path to ejb20.jar.

Using the EJB 2.0 Examples

The EJB 2.0 examples are shipped as part of the WebLogic Server 6.0 distribution. They are located in the /samples/examples/ejb20 directory in the WebLogic Server 6.0 distribution.

To run these examples:

  1. Refer to the EJB 2.0 examples documentation to build and run the examples. The examples documentation is included in the same directory as the the EJB 2.0 examples.
  2. Build the EJB. These examples are not shipped pre-built. You will have to download and install the Upgrade before you can build the examples.
  3. Run the example.

Copyright (C) 2000 BEA Systems Inc. All rights reserved.