InfoCenter Home >
6: Administer applications >
6.6: Tools and resources quick reference >
6.6.1: Administering applications (overview) >
6.6.1.3: Administering applications with the Web console >
6.6.1.3.6: Exporting DDL for EJB modules with the Web console

6.6.1.3.6: Exporting DDL for EJB modules with the Web console

The Web console enables you to export the DDL for each EJB module of your application that contains entity beans. The console uses the download capability of your Web browser to save the DDL files to the location of your choice. You (or a database administrator) can then use the downloaded DDL with the database vendor product to create database tables that correspond to the EJB modules of your application.

The data store that the DDL schema is loaded into should be the same data store specified in the container managed entity bean data source bindings. The bindings should be those that were specified for each enterprise bean, using the application installation wizard.

To export a DDL:

  1. Expand the tree on the left side of the console to locate Nodes -> hostname -> Enterprise Applications.
  2. Click Enterprise Applications.

    The right side of the console will display the list of zero or more installed applications (as .ear files).

  3. Select the application by clicking the check box to the left of the application name.
  4. Click the Export DDL button displayed on the right side of the console, above the list of installed applications.
  5. For each application that you selected, if:

    • The application contains EJB JAR files
    • The EJB JAR files have had code generated for deployment
    then the application will have a Table.DDL file displayed in a list of files available for download. Each file is named with the pattern earName_ejbJarName.ddl.
  6. Click a file to download it.

  7. Click OK.
  8. Save your configuration.
  9. (Optional) To have the configuration take effect:

    1. Stop the server
    2. Start the server again.
Go to previous article: Exporting application configurations with the Web console Go to next article: Viewing deployment descriptor information for enterprise applications (read-only)

 

 
Go to previous article: Exporting application configurations with the Web console Go to next article: Viewing deployment descriptor information for enterprise applications (read-only)