web server - Borland Technical Publications

web server - Borland Technical Publications web server - Borland Technical Publications

techpubs.borland.com
from techpubs.borland.com More from this publisher
12.11.2014 Views

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

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

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!