如果我们用实体bean来实现这个付款用例,则一个简单的事务需要跨网络进行四个调用,如图5所示。
If we used entity beans to implement the Make Payment use case, a simple transaction might require four calls across the network, as shown in Figure 5.
根据提交的付款类型,此流程将调用相应的信用卡公司来处理付款。
Based on the type of payment submitted, the process invokes the corresponding credit card company to process the payment.
函数据调用将使流程代理程序执行一个流程,将内容服务上的资产操作和在付款服务上的金融交易组合起来。
The function call would result in the process Broker executing a process that grouped an asset manipulation on the content service with a financial transaction on the payment service.
如果订单物品在库存中,将调用人员活动将订单路由到仓库,提货和派送,并收取支付款项。
If the order items are in stock, a Human Activity is invoked to route the order to the warehouse for the appropriate items to be picked and dispatched, and for payment to be collected.
例如,游戏客户端现在也许能够通过付款提取内容(由一个函数调用进行控制)。
For example, the game client may now be able to retrieve the content in return for a payment, controlled under a single function call.
例如,游戏客户端现在也许能够通过付款提取内容(由一个函数调用进行控制)。
For example, the game client may now be able to retrieve the content in return for a payment, controlled under a single function call.
应用推荐