
Configure the Supplier Enterprise Application
The following sections guide you through configuring the Supplier enterprise application.
Open the supplier.ear file in the Deployment Tool
1.
In the PetStoreEAR window, click Load.
2.
In the text field in the Load Application window, enter the path to the supplier.ear file, and click Load
Application or press Return.
3.
In the navigation window, click Connect.
4.
If the Connect to Server window indicates that you’re not connected to the application server, click Connect
to Server.
5.
Close the Connect to Server window.
Configure Application-Wide Settings
1.
Under SupplierEAR (Application), click Application Settings.
2.
In the SupplierEAR window, click the JBoss tab.
3.
Set J2EE Compliant Class Loading to no, and click Update.
4.
Close the window.
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.
Configuring and Deploying Sun’s Pet Store
Configure the Supplier Enterprise Application
2005-08-11 | Copyright © 2003, 2005 Apple Computer, Inc. All Rights Reserved.
26
Commentaires sur ces manuels