web server - Borland Technical Publications
web server - Borland Technical Publications web server - Borland Technical Publications
Setting Properties Editing Entity properties To edit Entity properties using the EJB Designer: 1 Start the DDEditor and open the deployment descriptor for the JAR containing your entity beans. 2 Select the top-level object in the DDEditor's Navigation Pane. In the Properties Pane you will see three tabs -- General, XML, and EJB Designer. 3 Choose the EJB Designer Tab and left-click on any of the bean representations that appear. Click the Properties button. The Entity Beans Properties window appears. 4 Edit the properties you desire and click OK. The properties themselves are discussed below. Figure 16.1 Edit Entity Bean Properties Editing Table and Column properties Table and Column properties can only be set by editing the ejb-borland.xml descriptor file from the DDEditor's Vendor XML Tab, or by using the EJB Designer. To edit or add Table and Column properties: 1 Start the DDEditor and open the deployment descriptor for the JAR containing your entity beans. 2 Select the top-level object in the DDEditor's Navigation Pane. In the Properties Pane you will see three tabs: General, XML, and EJB Designer. 3 Select the XML Tab. Two additional Tabs are now available in the Properties Pane; Standard and Vendor. Choose Vendor. Chapter 16: Using BES Properties for CMP 2.x 145
Setting Properties Figure 16.2 Editing table and column properties 4 Locate or add either the or elements and add property definitions in accordance with the borland-specific DTD. Germane entries are in bold. Descriptions of the entity, table, and column properties follow, including their data type, default values, and a property description. 146 BES Developer’s Guide
- 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 and 154: 142 BES Developer’s Guide
- Page 155: Setting Properties J2EE 1.3 Entity
- 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
- Page 205 and 206: Disabling and Enabling a Deployed D
Setting Properties<br />
Editing Entity properties<br />
To edit Entity properties using the EJB Designer:<br />
1 Start the DDEditor and open the deployment descriptor for the JAR containing your<br />
entity beans.<br />
2 Select the top-level object in the DDEditor's Navigation Pane. In the Properties<br />
Pane you will see three tabs -- General, XML, and EJB Designer.<br />
3 Choose the EJB Designer Tab and left-click on any of the bean representations that<br />
appear. Click the Properties button. The Entity Beans Properties window appears.<br />
4 Edit the properties you desire and click OK. The properties themselves are<br />
discussed below.<br />
Figure 16.1<br />
Edit Entity Bean Properties<br />
Editing Table and Column properties<br />
Table and Column properties can only be set by editing the ejb-borland.xml descriptor<br />
file from the DDEditor's Vendor XML Tab, or by using the EJB Designer. To edit or add<br />
Table and Column properties:<br />
1 Start the DDEditor and open the deployment descriptor for the JAR containing your<br />
entity beans.<br />
2 Select the top-level object in the DDEditor's Navigation Pane. In the Properties<br />
Pane you will see three tabs: General, XML, and EJB Designer.<br />
3 Select the XML Tab. Two additional Tabs are now available in the Properties Pane;<br />
Standard and Vendor. Choose Vendor.<br />
Chapter 16: Using BES Properties for CMP 2.x 145