# Generating the Makefile

BCED will generate makefiles to build your project and enable deployment for the selected target platforms. By default, the makefile are named `[your project].mkx` for UNIX systems and `[your project].mak` for Windows Imake.

You can deploy an Oracle8i CORBA Server Object, an Oracle8i EJB Session Bean, or to the Oracle Application Server. Use the Deployment panel to specify the platforms to which you will deploy your Business Component. Before you can deploy to these targets, you must specify the remote targets from the Application Module Editor.

For deploying your Business Component, there are three different types of files:

- Files that are used by the middle tier

- Files that are used by both the middle tier and the client tier

- Server files for each Application Module object (used as the EJB Session Bean or the CORBA server object, for example).

The purpose of a deployment profile is to generate a JAR (Java ARchive) file corresponding to each of the categories above, and in the case of Oracle 8i CORBA Server and Oracle EJB Session Beans, to deploy them out to the specified database connection. In order to accomplish this goal, BCED will generate a profile for each of the file types listed above: the profile for the middle-tier files can be shared by all the target platforms; the profile for the files used by both the middle and client tiers are unique to each platform; the server profiles generated for each Application Module supporting the specified platforms are also unique to each platform.

### Oracle8i CORBA Server

Select this checkbox if you want BCED to generate the configuration needed to connect to an Oracle8i server.

#### IIOP Connection

> Click Browse... to open the Connection dialog box to select or create a connection.

#### JDBC Connection

> Click Browse... to open the Connection dialog box to select or create a connection. The JDBC connection should refer to the same database specified in your IIOP connection.

### Oracle8i EJB Session Bean

> Select this checkbox if you want Business Component Editor to generate the configuration needed to deploy the Application Module as an Oracle8i Session Bean.

#### IIOP Connection

> Click Browse... to open the Connection dialog box to select or create a connection.

#### JDBC Connection

> Click Browse... to open the Connection dialog box to select or create a connection. The JDBC connection should refer to the same database specified in your IIOP connection.

### Oracle Application Server

#### HTTP Connection

> Click Browse... to open the Connection dialog box to select or create a connection.

#### Data Access Descriptors

> Enter the name of the Database Access Descriptor (DAD) that defines the desired Oracle database connection from the Oracle Application Server (OAS). The DAD contains information needed by the Business Components Application Module Session Bean running on OAS to connect to the database.