Apple Mac OS X Server v10.3 Manual de usuario Pagina 33

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 56
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 32
4.
In the JBoss Resource Refs list, select jms/TopicConnectionFactory, and click Edit.
5.
From the Jndi Name pop-up menu, choose /ConnectionFactory, and click Update.
6.
In the JBoss Resource Env Refs list, select jms/opc/InvoiceTopic, and click Edit.
7.
From the Jndi Name pop-up menu, choose /topic/opc/InvoiceTopic, and click Update.
8. Click Update to finish configuring the SupplierOrder message-driven bean, and close the window.
Configure the SupplierPurchaseOrder Module
These sections explain how to configure the SupplierPurchaseOrderJAR module.
Configure the Module Settings
1. Under SupplierPurchaseOrderJAR (EJB), click Module Settings.
2. In the SupplierPurchaseOrderJAR 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.
5.
From the Entity Command Name pop-up menu, choose no-select-before-insert.
6. Click the CMP - PK Generation tab.
7.
In the Unknown Pk Class text field, enter java.lang.Long.
8.
In the Field Name text field, Enter pk.
9.
In the Column Name text field, enter pk.
10. Set Auto Increment to yes, and click Update.
11. Close the window.
Configure the Address Enterprise Bean
1. Under SupplierPurchaseOrderJAR (EJB), click Enterprise Beans. Then click AddressEJB.
2.
From the Table Name pop-up menu in the AddressEJB window, choose PS_Address.
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 Address enterprise bean, and close the AddressEJB window.
Configure the Supplier Enterprise Application 33
2005-08-11 | © 2003, 2005 Apple Computer, Inc. All Rights Reserved.
CHAPTER 3
Configuring and Deploying Suns Pet Store
Vista de pagina 32
1 2 ... 28 29 30 31 32 33 34 35 36 37 38 ... 55 56

Comentarios a estos manuales

Sin comentarios