官术网_书友最值得收藏!

Chapter 2. Service Invocation

Services are self-contained units of functionality. BPEL processes specify the exact order in which participating services should be invoked—this is called orchestration. We can do this sequentially or in parallel. With BPEL, we can also express conditional behavior; for example, a service invocation can depend on the return value of a previous invocation. We will see that BPEL processes are essentially graphs of activities.

In this chapter, we will learn how to use BPEL for service invocations using sequential flows. We will develop a BPEL process, which will invoke other services and orchestrate them. This way, the BPEL process will consume services, thus building a composite application.

In traditional programming languages, we used to invoke operations sequentially, one by one. In business processes, however, we often need to execute activities in parallel. We will see that BPEL provides a relatively easy way to invoke services and execute other activities in parallel.

In this chapter, we will extend our example process from the previous chapter and learn how to invoke and compose services in a sequential and parallel manner. In this chapter, we shall:

  • Understand service invocation and orchestration of services
  • Develop a book warehousing process that will invoke and orchestrate services
  • Understand sequential invocation and partner links
  • Understand parallel invocation, parallel flows, and develop a process using parallel invocation

So let's get started.

主站蜘蛛池模板: 泽普县| 广丰县| 临漳县| 桐梓县| 石屏县| 福泉市| 北辰区| 七台河市| 长泰县| 五寨县| 富顺县| 金山区| 堆龙德庆县| 武山县| 芜湖市| 博客| 图木舒克市| 蒙自县| 登封市| 库伦旗| 闵行区| 丁青县| 晋城| 同仁县| 安仁县| 延庆县| 夏邑县| 临城县| 额济纳旗| 奉新县| 宜良县| 土默特左旗| 红安县| 铜川市| 通江县| 宣城市| 兰考县| 四平市| 上犹县| 南充市| 西宁市|