为了针对我们的讨论和示例提供参考框架,这些构件将基于简单订单处理用例。
To provide a frame of reference for our discussion and sample, we based the artifacts on a simple Order Processing use case.
使用信用卡支付订单本身就很简单。
这个简单的模型图示了订单从验证但执照的流程。
This simple model illustrates the flow of orders through validation and manufacturing.
然后,我们通过演示简单的订单处理模块的构建过程将这些概念融合在一起。
We put the concepts into use by showing how a simple order processing module could be built.
这是一个对某些物品下订单的服务的简单版本,其中服务是异步的,通过一个回调接口通知客户端进度信息。
This is a simple version of a service for placing an order for some widgets, where the service is asynchronous and the client is informed of progress via a callback interface.
我将使用一个简单的场景演示这两种方式,这个场景要处理客户和订单信息。
Using sample code, I'lll illustrate the two approaches using a simple scenario that deals with customer and order information.
清单2给出了CAM如何定义一个简单购买订单的结构。
Listing 2 shows how CAM defines the structure for a simple purchase order.
我们已经通过将采购订单文档存储为 BLOB,在基本关系数据库中尽量保持采购订单表模式简单。
We have tried to keep the purchase order table schema simple in the relational-only database by storing the purchase order document as a BLOB.
经理通过人工任务取消订单的情形比较简单。
The case where the manager cancels the order via the human task is straightforward.
订单由包含许多简单类型属性和一个订单行式项目数组的业务对象表示,如图3 所示。
The order is represented by a business object that contains a number of simple type attributes and an array of order line items as shown in Figure 3.
我们列举了一个简单的Web订单业务流程的样例,并且展示了如何以业务流程执行语言(BusinessProcess Execution Language,BPEL)的顺承模式对其建模。
We took an example of a simple Web order business process and showed how it can be modeled in a Business Process Execution Language (BPEL) compliant mode.
我们将考虑一个简单的订单管理服务,它可以通过WebSphereESB与其客户交互。
We will consider a simple service for order management that interacts with its consumers via WebSphere ESB.
简单的订单业务流程SimpleOrderProcess(2)和客户服务人工任务CustomerService(3)被表示为BPC支持的两种类型的SCA组件。
A simple order business process, SimpleOrderProcess (2) and a customer service human task, CustomerService (3) are represented as the two types of SCA components that BPC supports.
简单的订单处理应用程序。
在本系列的上一部分中,您利用WebSphereIntegrationDeveloper构建了一个简单的面向服务的订单处理应用程序。
A previous article in this series had you build a simple service-oriented order processing application using WebSphere Integration Developer.
对于这个用例,为简单起见我从PurchaseOrder模式中除去了订单细节部分。
For this use case, I removed the order details section from my PurchaseOrder schema to keep things simple.
在这个简单的例子中,客户类的delete方法包含检查该客户的一个或多个订单是否依然存在的适当代码。
In this simple example, the delete method of the customer class contains appropriate code to check if one or more orders for this customer still exist.
本文通过一个简单的订单审计流程来演示一个场景及其解决方案。
This article demonstrates a scenario and solution through a simple order audit process. The work flow of the sample process includes several typical steps
在图3中,您可以看到简单的电子商务对话,其中Acme用JoeLaptops存放购买订单。
In Figure 3, you can see a simple e-business dialogue in which Acme places a purchase order request with JoeLaptops. You can also see the several components that are needed in an e-business dialogue.
清单4 所示的MessagingBean是个简单的POJO,有两个方法,都接受订单号,但是分别返回订单细节和客户细节。
MessagingBean, illustrated in Listing 4, is a simple POJO with two methods that take an order number and return order details and customer details, respectively.
消息可以是简单的(如 Sample1中的一个文本字符串),也可以比较复杂(如代表订单(Order)的文档)。
The messages can be simple (the single text string in Sample1, for example) or more complex (a document representing an Order, for example).
这一简单的OTMPS模型描绘了经过校验和制造厂的订单流。
This simple OTMPS model illustrates the flow of orders through validation and manufacturing.
对于本例而言,示例应用程序是一个简单的客户订单系统,在此订单系统中,客户将创建一个订单,添加行项目,然后提交该订单。
For this example, the sample application is a simple customer order system, in which a customer creates an order, adds line items, and then submits the order.
分销商订单管理客户端不是本文的重点,但该客户端是相当简单的。
The Reseller order-management client is not the focus of this article, but the client is fairly straightforward.
从概念上讲,那会更简单点,但会导致难于(比方说)挖掘订单数据来统计最受欢迎的浇头。
Conceptually, that's a bit simpler, but it would make it awkward to, say, mine your order data to count the most popular toppings.
看待这个问题的最简单方法是,记住状态机是用于尽力真实地建模应用程序在处理订单时将要经历的状态的方法。
The easiest way to think of this is to keep in mind that the state machine is literally trying to model the states that your application is going through as it processes the order.
如果你希望用户下订单前阅读的话,尽量让它更简单容易些。
If you want your visitors to read all the way to your "order" button, make it as easy as possible for them to do so.
很简单,登录后点击账户管理,填好你的“订单”,点击租借此书,接着输入借阅人姓名,邮箱和其他附加条件,这样你就可以免费享有14天的试用了。
Simply visit the Manage Account page, scroll to your ‘Orders’ list, click ‘Loan This Book’, enter the “borrower”‘s name, email address and an optional message… and you’re done.
说明:订单系统,拥有简单的发货、收货等。主要是英国卫裤等产品的。
Order system, has a simple shipping, receiving. British Methodist pants and other products.
说明:订单系统,拥有简单的发货、收货等。主要是英国卫裤等产品的。
Order system, has a simple shipping, receiving. British Methodist pants and other products.
应用推荐