# Generating Makefiles for Remote Access

After changing your business components with the Application Module Editor, you need to regenerate the makefiles:

1. In the Navigation pane, select your Project.

2. Select the Object | Generate Makefile menu item.

3. BCED will display a message asking if you want to replace your existing makefile. Click OK to dismiss the message.

   Note: If you have made any changes to the makefile, for example, added or changed targets, your changes will be overwritten. You should make a backup copy of your makefile before you use BCED to regenerate it.

4. When the Generate Makefiles dialog appears, click the checkboxes for the appropriate target platforms:

   > #### Oracle8i CORBA Server

   > #### Oracle8i EJB Session Bean

   > > For Oracle8i, you will need a JDBC connection and an IIOP connection. Both should connect to the same server and schema.

   > #### Oracle Application Server

   > > For Oracle Application Server, you will need an HTTP connection and a Database Access Descriptor (DAD).

5. You need to define the connections for each target platform. If nothing is defined, click Browse.

   The Connection panel is displayed. Select a connection to the database from the dropdown list. If no connections are defined or if you want to define a new connection, click Add:

   1. The Connection Dialog is displayed, allowing you to define a connection to a database.

   2. Click Test Connection to try out your connection. If the connection succeeds, click OK to dismiss the Connection Dialog.

   3. Click Next to save your connection information.

   4. Click OK to dismiss the Connection panel.

6. The connection will be defined in the box on the Generate Makefiles dialog. When you have completed defining connections, click OK.

BCED will regenerate the makefile.

| 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.