
4. Close the window.
Configure the AsyncSender Enterprise Bean
1. Under AsyncSenderEJB (EJB), click Enterprise Beans. Then click AsyncSenderEJB.
2.
In the AsyncSenderEJB window, select jms/QueueConnectionFactory in the JBoss Resource
Refs list, and click Edit.
3.
From the Jndi Name pop-up menu, choose java:/ConnectionFactory , and click Update.
4.
In the JBoss Resource Env Refs list, select jms/AsyncSenderQueue , and click Edit.
5.
From the Jndi Name pop-up menu, choose /queue/supplier/PurchaseOrderQueue, and click
Update.
6. Click Update to finish configuring the AsyncSender enterprise bean, and close the window.
Configure the Catalog Enterprise Bean
1. Under CatalogJAR (EJB), click Enterprise Beans. Then click CatalogEJB.
2.
In the JBoss Resource Refs list in the CatalogEJB window , select jdbc/CatalogDB, and click Edit.
3.
From the Jndi Name pop-up menu, choose java:MySqlDS , and click Update.
4.
In the JBoss Resources Refs list in the CatalogEJB window, select url/CatalogDAOSQLURL , and
click Edit.
5.
In the Resource URL text field, enter http://localhost:8080/petstore/CatalogDAOSQL.xml,
and click Update.
24
Configure the Pet Store Enterprise Application
2005-08-11 | © 2003, 2005 Apple Computer, Inc. All Rights Reserved.
CHAPTER 3
Configuring and Deploying Sun’s Pet Store
Comentarios a estos manuales