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:
The right side of the console will display the list of zero or more installed applications (as .ear files).
Click a file to download it.