web server - Borland Technical Publications
web server - Borland Technical Publications web server - Borland Technical Publications
Complete Index of EJB Properties Table 31.2 Entity Bean properties (continued) Property Type Description Default ejb.maxBeansInTransactions Integer A transaction can access any/large number of entities. This property sets an upper limit on the number of physical bean instances that EJB container will create. Irrespective of the number of database entities/rows accessed, the container will manage to complete the transaction with a smaller number of entity objects (dispatchers). The default for this is calculated as ejb.maxBeansInCache/2. If the ejb.maxBeansInCache property is not set, this translates to 500. ejb.transactionCommitMode Enumeration (A| Exclusive, B|Shared, C|None) This flag indicates the disposition of an entity bean with respect to a transaction. The values are: A or Exclusive: This entity has exclusive access to the particular table in the DB. Thus, the state of the bean at the end of the last committed transaction can be assumed to be the state of the bean at the beginning of the next transaction. For example, to cache the beans across transactions. B or Shared: This entity shares access to the particular table in the DB. However, for performance reasons, a particular bean remains associated with a particular primary key between transactions, to avoid extraneous calls to ejbActivate and ejbPassivate between transactions. This means the bean stays in the active pool. This setting is the default. C or None: This entity shares access to the particular table in the DB. A particular bean does not remain associated with a particular primary key between transactions, but goes back to ready pool after every transaction. This is generally not a useful setting. Calculated Shared Chapter 31: EJB, JSS, and JTS Properties 339
Complete Index of EJB Properties Table 31.2 Entity Bean properties (continued) Property Type Description Default ejb.transactionManagerInstan ceName String Use this property to specify by name a particular transaction manager for driving the transaction started for method calls. This option is useful in cases where you need 2PC completion of a particular transaction but want to avoid the RPC overhead of using a 2PC transaction manager for all other transactions in the system. This is also supported for MDBs. None 340 BES Developer’s Guide
- Page 301 and 302: Syntax and usage for appclient Tabl
- Page 303 and 304: Building and running the BES exampl
- Page 305 and 306: Using the iastool command-line tool
- Page 307 and 308: Using the iastool command-line tool
- Page 309 and 310: Using the iastool command-line tool
- Page 311 and 312: Using the iastool command-line tool
- Page 313 and 314: Using the iastool command-line tool
- Page 315 and 316: Using the iastool command-line tool
- Page 317 and 318: Using the iastool command-line tool
- Page 319 and 320: Using the iastool command-line tool
- Page 321 and 322: Using the iastool command-line tool
- Page 323 and 324: Using the iastool command-line tool
- Page 325 and 326: Using the iastool command-line tool
- Page 327 and 328: Using the iastool command-line tool
- Page 329 and 330: Using the iastool command-line tool
- Page 331 and 332: Using the iastool command-line tool
- Page 333 and 334: Executing iastool command-line tool
- Page 335 and 336: 324 BES Developer’s Guide
- Page 337 and 338: element ■ ■ ■ element The
- Page 339 and 340: element The Partition statistics ag
- Page 341 and 342: element element The services eleme
- Page 343 and 344: element element The archive elemen
- Page 345 and 346: EJB Container-level Properties Tabl
- Page 347 and 348: EJB Container-level Properties Tabl
- Page 349 and 350: EJB Customization Properties: Deplo
- Page 351: Complete Index of EJB Properties Co
- Page 355 and 356: Complete Index of EJB Properties Ta
- Page 357 and 358: Complete Index of EJB Properties Ta
- Page 359 and 360: Java Session Service (JSS) Properti
- Page 361 and 362: Java Session Service (JSS) Properti
- Page 363 and 364: Partition Transaction Service (Tran
- Page 365 and 366: Borland-specific web DTD 33, 36 bra
- Page 367 and 368: ejb.mdb.maxMessagesPerServerSession
- Page 369 and 370: J J2EE VisiClient 97 VisiClient env
- Page 371 and 372: optimistic concurrency 130 SelectFo
- Page 373 and 374: Sonic clustered service 228 SonicMQ
- Page 375: X XML DTD 99 VisiClient 98 grammar
Complete Index of EJB Properties<br />
Table 31.2<br />
Entity Bean properties (continued)<br />
Property Type Description Default<br />
ejb.transactionManagerInstan<br />
ceName<br />
String<br />
Use this property to<br />
specify by name a<br />
particular transaction<br />
manager for driving the<br />
transaction started for<br />
method calls. This option<br />
is useful in cases where<br />
you need 2PC completion<br />
of a particular transaction<br />
but want to avoid the RPC<br />
overhead of using a 2PC<br />
transaction manager for all<br />
other transactions in the<br />
system. This is also<br />
supported for MDBs.<br />
None<br />
340 BES Developer’s Guide