Once again, you need to switch to a command shell to make and deploy your business components. The following table shows the make parameter 1 for each deployment target:
| Deployment Target | Parameter |
| Oracle8i CORBA Server | deploy_o8 |
| Oracle8i EJB Session Bean | deploy_ejb |
| Oracle Application Server | deploy_oas |
On the command line, change directories to your myproject directory.
Run the make command 2 against the makefile:
$ make -f [Project_Name].mkx
You may want to return to BCED to test the application once again in local mode.
$ make -f [Project_Name].mkx deploy_[parameter]
The make command will package your application in a jar file and deploy it to the target platform.
On the command line, change directories to C:\[BCED_HOME]\myproject directory. You will find a makefile named [Project_Name].mak.
Run the nmake command 2 against the makefile:
[BCED_HOME]\myproject> nmake /f [Project_Name].mak
You may want to return to BCED to test the application once again in local mode.
[BCED_HOME]\myproject> nmake /f [Project_Name].mak deploy_[parameter]
The nmake command will package your application in a jar file and deploy it to the target platform.
1. If an Oracle Business Component application has never been previously run against your target database, you will need to deploy the Business Component libraries before you can successfully deploy your project. The makefile BCED generates contains the targets to allow you to deploy the Business Components to your database as shown in the following table:
| Deployment Target | Parameter |
| Oracle8i CORBA Server | deploy_jbo_o8 |
| Oracle8i EJB Session Bean | deploy_jbo_ejb |
| Oracle Application Server | deploy_jbo_OAS |
Deploying the Oracle Business Objects to your database will usually take quite a while. However, you should only have to make this target once.
2. Before you make your application and deploy it, you may with to run the make clean directive to ensure everything is correctly rebuilt. On UNIX platforms, run the following command:
$ make -f [Project_Name].mkx clean
On Windows platforms, run the following command:
[BCED_HOME]\myproject> nmake /f [Project_Name].mak clean
| Copyright © 2000 Oracle
Corporation. All Rights Reserved. |
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.