Chapter 8 Creating J2EE Applications for BEA WebLogic


Model and Packages Extended Attributes

This table lists the model and package extended attributes:

Name Description
deployment-unit-name Identifies the name of the EJB deployment unit. This name can be specified at deployment time, either with deploy or console utilities.

By default, the deployment unit name is set with the code of the model or the package.

Usage: Deployment command
create-default-dbms-tables The value of create-default-dbms-tables may be "True" or "False".

The default value of create-default-dbms-tables is "False"

When this parameter is "True", the following occurs:

For each CMP Bean listed in the jar, at Deployment time, if there is no Table in the Database for the Bean, the Container will attempt to CREATE the Table based on information found in the deployment files and in the Bean Class.

If TABLE CREATION fails,'a 'Table Not Fo'nd' Error will be thrown, and the TABLE must be created by hand.

This feature should only be used for convenience during development and prototyping as the Table Schema in the DBMS CREATE used will be the Containers best approximation, and a production environment may require a more precise schema definition.

Usage: weblogic-rdbms-jar
database-type The following tag is used to specify the database type of the underlying DBMS.

The database-type can be one of the following values:

DB2

INFORMIX

ORACLE

SQL_SERVER

SYBASE

POINTBASE

Usage: weblogic-rdbms-jar

 


Copyright (C) 2005. Sybase Inc. All rights reserved.