PetStore Asynchronous Messaging Module

xiaoxiao2021-03-06  46

In the PETStore, the order information is transmitted to the OPC through JMS Queue and OPC. When the user submits the ordering form, the RequestProcessor will create an OrderHtmLAction, and this action creates an orderevent with the relevant information of the order, and then the OrdereEvent is transferred to the OrdeRejbaction via EJB Controlor. OrdereJBAction, create a PurchaseOrder object, form an XML file through the toxml method, and transferred to the OPC via JMS. When a message driven bean (PurchaseOrdermdb) of OPC is received, establish a PurchaseOrder object and transform XML data via the fromxml method. Class Diagram:

转载请注明原文地址:https://www.9cbs.com/read-71745.html

New Post(0)