Next

How to Run the Business Component Editor

Business Component Process

The Oracle® JDeveloper Business Component Editor (BCED) is a standalone Java-based editor used for creating business components. It is also available as a component of Oracle JDeveloper 3.2, an Integrated Development Environment (IDE) available from the Oracle Store for Windows® NT and Windows® 2000. BCED provides Oracle Business Components for Java, but unlike JDeveloper does not provide a full-functioned IDE. You need a Java Development Kit (JDK) as well as a make utility, for example GNU make or nmake for Windows. Similar to JDeveloper, you also need access to a database: the recommended database is Oracle8i Release 2 (8.1.6).

To build an application using BCED, you create the business components with the included wizards and then generate makefiles. Next you switch to the shell and make the project. Then you return to BCED to use its test facility.

You may also edit the Java and XML source files to add customization. You can create Java Server Pages (JSP) content to control your business components. You can even modify the makefile to customize your targets and processes.

Once you have completed your testing, you switch back to the shell to deploy the finished project.

Launch BCED

BCED is launched from the command line.

On UNIX Platforms:

Before you can run BCED for first time, you must run its setup script. This script is found in [BCED_Home]/setup. The script will prompt you for the location of your preferred JDK as well as the location of BCED as follows:

$ [BCED_Home]/setup 
-------------------------------------------- 
Oracle JDeveloper Business Components Editor 
-------------------------------------------- 
Please enter Location of desired JDK: 
/jdk1.2.2 
Please enter Location of BCED: 
[BCED_Home] 
Setup has been completed. 
Run the 'bced' script to begin using the 
Oracle JDeveloper Business Components Editor 
 
$ 

The setup script makes a bced directory in your HOME directory and creates your .bced options file:

$ cat bced/.bced 
# Oracle JDeveloper Business Components Editor 
JDK_VER=12 
JDK_LOC=/jdk1.2.2 
BCED_LOC=[BCED_Home] 
export JDK_VER JDK_LOC BCED_LOC 
$ 

You can now run the bced script to launch BCED:

$ [BCED_Home]/bced

You may wish to modify your path to include [BCED_Home] or create a symbolic link to the bced script.

On Windows Platforms:

Before you can run BCED for first time, you must run its setup script. This script is found in [BCED_HOME]\setup.bat. You need to provide the location of your preferred JDK as arguments to the script as follows:

[BCED_HOME]> setup.bat C:\jdk1.2.2 

You can now run the bced.bat batch file to launch BCED:

[BCED_HOME]> bced.bat 

You may wish to modify your path environment to include [BCED_Home] or create a shortcut to the bced.bat batch file.

Changing the JDK

BCED uses the JDK you specify during setup as its Java platform. See the Installation Guide for instructions to change the JDK.


Copyright © 2000 Oracle Corporation.
All Rights Reserved.
Next

Oracle is a registered trademark, and JDeveloper, Oracle8i, Application Server, Procedure Builder, Oracle8i Personal Edition, Oracle8i Enterprise Edition, and Oracle8i Lite are trademarks or registered trademarks of Oracle Corporation. All other company or product names mentioned are used for identification purposes only and may be trademarks of their respective owners.