In the customerService bean, a client will use createCustomer to create a customer record. [code] <?xml version="1.0" encoding="UTF-8"?> <proces

Sơn Lê

Member
In the customerService bean, a client will use createCustomer to create a customer record.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<process name="RegisterCustomer" xmlns="[URL]http://jbpm.org/4.0/jpdl[/URL]">
          <start>
          <transition to="send-verification-email" />
          </start>
          <java name="send-verification-email" expr="#{customerService}"
          method="sendCustomerVerificationEmail">
          <arg> <object expr="#{customerId}" /> </arg>
          <transition to="confirm-receipt-of-verification-email" />
          </java>
          <state name="confirm-receipt-of-verification-email">
          <transition to="send-welcome-email" />
          </state>
          <java name="send-welcome-email"
          expr="#{customerService}" method="sendWelcomeEmail">
          <arg> <object expr="#{customerId}" /> </arg>
          </java>
</process>
A. True
B. False
 
Answer: a
Explanation: In a real-world example, you might imagine exposing these services as a SOAP endpoint to be consumed by various clients, such as a web application or other business applications.
 

Tìm kiếm

Back
Top