以 PDF 格式下载本书 (1146 KB)
Ddatabase-vendor-nameSpecifies the name of the database vendor for which tables can be created. Allowed values are javadb, db2, mssql, oracle, postgresql, pointbase, derby (also for CloudScape), and sybase, case-insensitive. If no value is specified, a connection is made to the resource specified by the jndi-name subelement of the cmp-resource element, and the database vendor name is read. If the connection cannot be established, or if the value is not recognized, SQL-92 compliance is presumed. This element can be overridden during deployment. See Generation Options for CMP in Sun Java System Application Server Platform Edition 9 Developer’s Guide. Superelementscmp-resource (sun-ejb-jar.xml) Subelementsnone - contains data debugging-enabledSpecifies whether the debugging servlet is enabled for this web service endpoint. Allowed values are true (the default) and false. Superelementswebservice-endpoint (sun-web.xml, sun-ejb-jar.xml) Subelementsnone - contains data defaultSpecifies that a field belongs to the default hierarchical fetch group, and enables prefetching for a CMR field. To disable prefetching for specific query methods, use a prefetch-disabled element in the sun-ejb-jar.xml file. Superelementsfetched-with (sun-cmp-mappings.xml) Subelementsnone - element is present or absent default-helperPasses property values to the built-in default cache-helper class. Superelementscache (sun-web.xml) SubelementsThe following table describes subelements for the default-helper element. Table A–37 default-helper Subelements
PropertiesThe following table describes properties for the default-helper element. Table A–38 default-helper Properties
default-resource-principalSpecifies the default principal (user) for the resource. If this element is used in conjunction with a JMS Connection Factory resource, the name and password subelements must be valid entries in the Sun JavaTM System Message Queue broker user repository. See the Security Management chapter in the Sun Java System Message Queue 3.7 UR1 Administration Guide for details. Superelementsresource-ref (sun-web.xml, sun-ejb-jar.xml, sun-application-client.xml); cmp-resource, mdb-connection-factory (sun-ejb-jar.xml) SubelementsThe following table describes subelements for the default-resource-principal element. Table A–39 default-resource-principal Subelements
descriptionSpecifies a text description of the containing element. Superelementsproperty (with attributes) (sun-web.xml); activation-config, method (sun-ejb-jar.xml); target-server (sun-acc.xml) Subelementsnone - contains data dispatcherSpecifies a comma-separated list of RequestDispatcher methods for which caching is enabled on the target resource. Valid values are REQUEST, FORWARD, INCLUDE, and ERROR . If this element is not specified, the default is REQUEST. See SRV.6.2.5 of the Servlet 2.4 specification for more information. Superelementscache-mapping (sun-web.xml) Subelementsnone - contains data drop-tables-at-undeploySpecifies whether database tables that were automatically created when the bean(s) were last deployed are dropped when the bean(s) are undeployed. If true, drops tables from the database. If false (the default if this element is not present), does not drop tables. This element can be overridden during deployment. See Generation Options for CMP in Sun Java System Application Server Platform Edition 9 Developer’s Guide. Superelementscmp-resource (sun-ejb-jar.xml) Subelementsnone - contains data |
||||||||||||||||||||||