beautypg.com

Configure the contactinfo enterprise bean, Configure the lineitem enterprise bean, Configure the supplierorder enterprise bean – Apple Mac OS X Server v10.3 User Manual

Page 34: Configure the supplier web application module

background image

Configure the ContactInfo Enterprise Bean

1.

Under Enterprise Beans under SupplierPurchaseOrderJAR (EJB), click ContactInfoEJB.

2.

From the Table Name pop-up menu in the ContactInfoEJB window, choose

PS_ContactInfo

.

3.

Map the CMP fields to the appropriate column names by selecting the field in the Cmp Fields
list, clicking Edit, choosing the corresponding column name from the Column Name list, and
clicking Update.

4.

Click the CMP - Mapping tab. From the Entity Command Name pop-up menu, choose

mysql-get-generated-keys

.

5.

Click Update to finish configuring the ContactInfo enterprise bean, and close the window.

Configure the LineItem Enterprise Bean

1.

Under Enterprise Beans under SupplierPurchaseOrderJAR (EJB), click LineItemEJB.

2.

From the Table Name pop-up menu in the LineItemEJB window, choose

SUPP_LineItem

.

3.

Map the CMP fields to the appropriate column names by selecting the field in the Cmp Fields
list, clicking Edit, choosing the corresponding column name from the Column Name list, and
clicking Update.

4.

Click the CMP - Mapping tab. From the Entity Command Name pop-up menu, choose

mysql-get-generated-keys

.

5.

Click Update to finish configuring the LineItem enterprise bean, and close the window.

Configure the SupplierOrder Enterprise Bean

1.

Under Enterprise Beans under SupplierPurchaseOrderJAR (EJB), click SupplierOrderEJB.

2.

From the Table Name pop-up menu in the SupplierOrderEJB window, choose

SUPP_SupplierOrder

.

3.

Map the CMP fields to the appropriate column names by selecting the field in the Cmp Fields
list, clicking Edit, choosing the corresponding column name from the Column Name list, and
clicking Update.

4.

Click the CMP - Mapping tab. From the Entity Command Name pop-up menu, choose

mysql-get-generated-keys

.

5.

Click Update to finish configuring the SupplierOrder enterprise bean, and close the window.

Configure the Supplier Web Application Module

1.

Under SupplierWAR (WebApp), click Module Settings.

34

Configure the Supplier Enterprise Application

2005-08-11 | © 2003, 2005 Apple Computer, Inc. All Rights Reserved.

C H A P T E R 3

Configuring and Deploying Sun’s Pet Store