Configure the supplier module, Configure the module settings, Configure the inventory enterprise bean – Apple Mac OS X Server v10.3 User Manual

Page 32: Configure the supplierorder message-driven bean

Advertising
background image

Configure the Supplier Module

The following sections explain how to configure the SupplierJAR module.

Configure the Module Settings

1.

Under SupplierJAR (EJB), click Module Settings.

2.

In the SupplierJAR window, click the CMP - Default Settings tab.

3.

From the Datasource pop-up menu, choose MySQL 4.0.14 (java:/MySqlDS).

4.

From the Datasource Mapping pop-up menu, choose

mySql

, and click Update.

5.

Close the window.

Configure the Inventory Enterprise Bean

1.

Under SupplierJAR (EJB), click Enterprise Beans. Then click InventoryEJB.

2.

From the Table Name pop-up menu, choose

SUPP_Inventory

.

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 Update to finish configuring the Inventory enterprise bean, and close the window.

Configure the OrderFulfillmentFacade Enterprise Bean

1.

Under Enterprise Beans under SupplierJAR (EJB), click OrderFulfillmentFacade.

2.

In the JBoss Resource Refs list in the OrderFulfillmentFacadeEJB window, select

url/EntityCatalogURL

, and click Edit.

3.

In the Res URL text field, enter

http://localhost:8080/opc/EntityCatalog.jsp

, and click

Update.

4.

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

Configure the SupplierOrder Message-Driven Bean

1.

Under Enterprise Beans under SupplierJAR (EJB), click SupplierOrderMDB.

2.

In the JBoss Resource Refs list, select

jms/QueueConnectionFactory

, and click Edit.

3.

From the Jndi Name pop-up menu, choose

/ConnectionFactory

, and click Update.

32

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

Advertising