web server - Borland Technical Publications
web server - Borland Technical Publications web server - Borland Technical Publications
Chapter 16 16Using BES Properties for CMP 2.x Chapter Setting Properties Important Most properties for Enterprise JavaBeans can be set in their deployment descriptors. The Borland Deployment Descriptor Editor (DDEditor) also allows you to set properties and edit descriptor files. Use of the Deployment Descriptor Editor is described in the Borland Management Console User's Guide. For more information, go to “Using the Deployment Descriptor Editor” on page 143. Use properties in the deployment descriptor to specify information about the entity bean's interfaces, transaction attributes, and so forth, plus information that is unique to an entity bean. In addition to the general descriptor information for entity beans, here are also three sets of properties that can be set to customize CMP implementations, entity properties, table properties, and column properties. Entity properties can be set either by the EJB Designer Tab in the Deployment Descriptor Editor or in the XML directly. For documentation updates, go to www.borland.com/techpubs/bes. Using the Deployment Descriptor Editor You can use the Deployment Descriptor Editor, which is part of BES, to set up all of the container-managed persistence information. Most operations for CMP 2.x are performed by way of the EJB Designer, a component of the Deployment Descriptor Editor. The following table shows descriptor information and where in the Deployment Descriptor Editor that information can be entered. For complete information on the use of the Deployment Descriptor Editor and other related tools, refer to the Borland Management Console User's Guide. The EJB Designer CMP 2.x properties are set using the EJB Designer. The EJB Designer appears as a Tab in the Deployment Descriptor Editor. For more information about the EJB Designer, go to the Borland Management Console User's Guide. Chapter 16: Using BES Properties for CMP 2.x 143
Setting Properties J2EE 1.3 Entity Bean Descriptor Element Setting CMP 2.x Properties Navigation Tree Node/ Panel Name DDEditor Tab Entity Bean name Bean General Entity Bean class Bean General Home Interface Bean General Remote Interface Bean General Local Home Interface Bean General Local Interface Bean General Home JNDI Name Bean General Local Home JNDI Name Bean General Persistence Type (CMP or BMP) Bean General CMP Version Bean General Primary Key Class Bean General Reentrancy Bean General Icons Bean General Environment Entries Bean Environment EJB References to other Beans Bean EJB References EJB Links Bean EJB References Resource References to data Bean Resource References objects/connection factories Resource Reference type Bean Resource References Resource Reference Bean Resource References Authentication Type Security Role References Bean Security Role References Entity Properties Bean Properties Security Identity Bean Security Identity EJB Local References to beans in Bean EJB Local References the name JAR EJB Local Links Bean EJB Local References Resource Environmental Bean Resource Env Refs References for JMS Container Transactions Bean:Container Container Transactions Transactions Transactional Method Bean:Container Container Transactions Transactions Transactional Method Interface Bean:Container Container Transactions Transactions Transactional Attribute Bean:Container Container Transactions Transactions Method Permissions Bean:Method Permissions Method Permissions Entity, Table, and Column Properties JAR EJB Designer (see below) BES uses the EJB Designer, a component of the Deployment Descriptor Editor, to set CMP 2.x properties. The EJB Designer is fully-documented in the Borland Management Console User's Guide. 144 BES Developer’s Guide
- Page 103 and 104: Support for JNDI Support for JNDI T
- Page 105 and 106: EJB to CORBA mapping A CORBA progra
- Page 107 and 108: 96 BES Developer’s Guide
- Page 109 and 110: Application Client architecture Pac
- Page 111 and 112: Document Type Definitions (DTDs) my
- Page 113 and 114: Support of references and links The
- Page 115 and 116: Use of Manifest files Use of Manife
- Page 117 and 118: 106 BES Developer’s Guide
- Page 119 and 120: Sessions in secondary storage If yo
- Page 121 and 122: 110 BES Developer’s Guide
- Page 123 and 124: Container-managed persistence and R
- Page 125 and 126: Implementing an entity bean Generat
- Page 127 and 128: Container-Managed Persistence in Bo
- Page 129 and 130: Container-Managed Persistence in Bo
- Page 131 and 132: Setting Properties Setting Properti
- Page 133 and 134: Setting Properties into a BLOB. The
- Page 135 and 136: Setting Properties Automatic table
- Page 137 and 138: 126 BES Developer’s Guide
- Page 139 and 140: Container-managed persistence and R
- Page 141 and 142: Container-Managed Persistence in Bo
- Page 143 and 144: Container-Managed Persistence in Bo
- Page 145 and 146: Container-Managed Persistence in Bo
- Page 147 and 148: Container-Managed Persistence in Bo
- Page 149 and 150: Container-Managed Persistence in Bo
- Page 151 and 152: Container-Managed Persistence in Bo
- Page 153: 142 BES Developer’s Guide
- Page 157 and 158: Setting Properties Figure 16.2 Edit
- Page 159 and 160: Setting Properties Table 16.1 ejb.m
- Page 161 and 162: Setting Properties Table 16.3 Table
- Page 163 and 164: Setting Properties Security Propert
- Page 165 and 166: Aggregate Functions in EJB-QL Selec
- Page 167 and 168: Support for ORDER BY Support for OR
- Page 169 and 170: Overriding SQL generated from EJB-Q
- Page 171 and 172: Container-managed data access suppo
- Page 173 and 174: 162 BES Developer’s Guide
- Page 175 and 176: Generating primary keys from a cust
- Page 177 and 178: Implementing primary key generation
- Page 179 and 180: Transaction manager services Consis
- Page 181 and 182: Transaction manager services When t
- Page 183 and 184: Transaction manager services Follow
- Page 185 and 186: Declarative transaction management
- Page 187 and 188: Declarative transaction management
- Page 189 and 190: JDBC API Modifications JDBC API Mod
- Page 191 and 192: Handling of EJB exceptions Applicat
- Page 193 and 194: 182 BES Developer’s Guide
- Page 195 and 196: Client View of an MDB Client View o
- Page 197 and 198: Clustering of MDBs This is yet anot
- Page 199 and 200: Error Recovery Redelivered messages
- Page 201 and 202: 190 BES Developer’s Guide
- Page 203 and 204: JNDI Definitions Module Important s
Chapter<br />
16<br />
16Using BES Properties for CMP 2.x<br />
Chapter<br />
Setting Properties<br />
Important<br />
Most properties for Enterprise JavaBeans can be set in their deployment descriptors.<br />
The <strong>Borland</strong> Deployment Descriptor Editor (DDEditor) also allows you to set properties<br />
and edit descriptor files. Use of the Deployment Descriptor Editor is described in the<br />
<strong>Borland</strong> Management Console User's Guide. For more information, go to “Using the<br />
Deployment Descriptor Editor” on page 143. Use properties in the deployment<br />
descriptor to specify information about the entity bean's interfaces, transaction<br />
attributes, and so forth, plus information that is unique to an entity bean. In addition to<br />
the general descriptor information for entity beans, here are also three sets of<br />
properties that can be set to customize CMP implementations, entity properties, table<br />
properties, and column properties. Entity properties can be set either by the EJB<br />
Designer Tab in the Deployment Descriptor Editor or in the XML directly.<br />
For documentation updates, go to www.borland.com/techpubs/bes.<br />
Using the Deployment Descriptor Editor<br />
You can use the Deployment Descriptor Editor, which is part of BES, to set up all of the<br />
container-managed persistence information. Most operations for CMP 2.x are<br />
performed by way of the EJB Designer, a component of the Deployment Descriptor<br />
Editor. The following table shows descriptor information and where in the Deployment<br />
Descriptor Editor that information can be entered.<br />
For complete information on the use of the Deployment Descriptor Editor and other<br />
related tools, refer to the <strong>Borland</strong> Management Console User's Guide.<br />
The EJB Designer<br />
CMP 2.x properties are set using the EJB Designer. The EJB Designer appears as a<br />
Tab in the Deployment Descriptor Editor. For more information about the EJB<br />
Designer, go to the <strong>Borland</strong> Management Console User's Guide.<br />
Chapter 16: Using BES Properties for CMP 2.x 143