Editing entity bean descriptors To begin editing the (Web design seattle)
Editing entity bean descriptors To begin editing the deployment descriptors for an entity bean, double-click the bean name in the structure pane. The following page appears: In this sample image, WebLogic is the targeted application server for this project, so you see tabs for WebLogic-specific pages too. For now, examine just the Standard page for an entity bean. The page includes these fields; fill them in with the pertinent information: Name: The name of the entity bean. EJB Class: The fully-qualified name of the Java class that implements the bean s business methods. This information must be specified. Home interface: The name of the home interface of the bean. For an EJB 2.0 component, this field refers to the remote home interface. Remote interface: The name of the remote interface of the bean. Local home interface: The name of the local home interface of the bean. Local interface: The name of the local interface of the bean. Reentrant: Check this field if you want the bean to be capable of being shared by multiple users. Primary Key Class: The name of the class that makes up the primary key for the entity bean. Persistence Type: Determines whether the bean s persistence is managed by the container or by code you provided within the bean s code. Primary Key Field: This field is enabled only if you selected Container as the Persistence Type. The CMP field in the data source to which the bean maps that defines the primary key. CMP Version: This field is enabled only if you selected Container as the Persistence Type. The version of container-managed persistence used if the bean is a CMP bean. Abstract Schema Name: The schema name. This field is enabled only if you selected 2.x as the CMP Version. All of the Display information is optional. Display Name: The name you want used to identify the bean for display purposes. Description: A description of the bean. Large Icon: The name of a large icon you want associated with the bean. Small Icon: The name of a small icon you want associated with the bean. Chapter 13: Editing EJB deployment descriptors 123
Here java web hosting you will find professional-grade java web hosting at affordable prices.