📄 英汉对照业务过程执行语言(bpel)简介.htm
字号:
insurance broker’s arrangement of them in the BPEL designer GUI could stay
the same. Or if the insurance broker’s business plan changed, he could
rearrange the processes, as well as add new ones or subtract others,
within the GUI. <BR><BR> To run BPEL code that has been generated, either
through a GUI or by an intrepid XML programmer, the code is parsed by a
BPEL engine, which does the same kind of parsing job as other XML
interpreters. Each process that’s run is characterized by a Web Services
Description Language (WSDL) document, and its messages are transmitted
across the Web by the Simple Object Access Protocol (SOAP). Processes that
look up available Web services can use the Universal Description,
Discovery and Integration (UDDI) directory. <BR><BR> In order to define
business processes, BPEL has been endowed with a variety of XML
constructs, including “partners”,which are definitions of the actors in a
business transaction; “containers”,which are definitions of the messages
that need to be transmitted; “operations”, which are definitions of the
type of Web services that are required; and “port types”, which are
definitions of the kinds of Web services connections that are required for
operations. <BR><BR> BPEL’s capacity goes beyond the range of
traditional, definitional XML types. By defining processes, it blurs the
distinction between XML—a definition language—and executable languages
like Java and Unix shell scripts; hence the “execution” in its name.
<BR><BR> To define how processes should be executed, BPEL has XML
definitions or commands that specify the order of operations, the looping
of operations, and synchronous and asynchronous requirements for
operations. (Synchronous operations block requesters until a request is
either fulfilled or denied. Asynchronous operations allow requesters to
continue without waiting for a response.) BPEL also has commands to take
care of fault conditions and commands to undo or reverse operations.
<BR><BR> An insurance-broker BPEL program, for example, might request
financial information from a customer first, loop through insurance
company offerings that it discovers from a UDDI search and finally present
a package to the customer. If an error occurs or if the customer rejects
the offers, even after tentatively accepting one, the BPEL program will
make the proper adjustments. <BR><BR> Directed graphs specify the choices
that must be made to get from one transactional state to another. For
example, customer financial information must be received before insurance
quotes are solicited. Block-structured languages offer the kind of
programming flexibility familiar to Java, C and C++ programmers.
<BR><BR> BPEL will “orchestrate” business processes, meaning that
centralized control of Web services will reside in a BPEL engine. However,
the protocol seems to leave open the possibility for “choreographing” Web
services at a future date. Choreographed Web services interact without
being directed by a central, controlling program. The ability in BPEL to
publish the execution requirements of a Web service would seem to be
what’s needed for the more decentralized vision of choreography.
<BR><BR> Someday, instead of harried office administrators talking into
three phones at once, or stock brokers monitoring banks of terminals while
bidding in the seeming anarchy of the exchange floor, BPEL engines may be
doing it all with little more than the occasional mouse click from the
humans involved. <BR><BR> 业务过程执行语言(BPEL)
<BR><BR> 定义:业务过程执行语言是一种基于XML的语言,设计旨在完成一系列基于Web的事务处理和(或)表征完成基于Web事务处理所需的界面。
<BR><BR> 业务过程执行语言(BPEL)承诺成为Web服务标准堆栈的顶层。它旨在将各种实现特定商业目标的应用程序集成在一起,并以独立于平台和程序代码的方式工作,更不用提它具有可扩性和灵活性。
<BR><BR> 用Java或Unix脚本也能设计出能管理一系列过程的应用程序,如保险代理为了与客户的需求匹配而采取的运行一系列基于Web的应用程序的步骤,但是这个任务是很费力的,最终的程序代码也可能非常麻烦。相反,编写BPEL应用程序能提供一层抽象层,所有的步骤能通过抽象层加以连接和管理。
<BR><BR> 业务经理,如保险代理,利用
BPEL设计师图形用户界面(GUI),可以用BPEL定义独立于基础应用程序的业务过程。即使应用程序进行了更改,保险代理用BPEL设计师图形用户界面安排的业务过程也保持不变。或者如果保险代理的业务计划改变了,他能在GUI中重新安排这些过程,比如增加新的过程或删除其他的过程。
<BR><BR> 要运行已经生成的BPEL程序,可以通过GUI或者能力超强的XML程序员自己编程实现,代码由BPEL引擎解析,如同其他的XML解释器所做的解析工作一样。运行的每个过程是用Web服务描述语言(WSDL)文档表示,它的消息由简单对象访问协议(SOAP)在网上传送。要查找可用Web服务的过程可以使用通用描述、发现和集成(UDDI)目录。
<BR><BR> 为了定义业务过程,BPEL已赋予了各种XML结构,其中包括“伙伴”,即业务处理中参与者的定义;
“容器”,即需要传送的消息的定义、“操作”,即需要的Web服务类型的定义,以及“端口类型”,即操作所需的Web服务连接种类的定义。
<BR><BR> BPEL的能力超过了传统的、定义好的XML类型的范畴。通过定义这些过程,模糊了XML(一种定义语言)与执行语言(如Java和Unix
Shell脚本)之间的界限,因此获得了“执行”这个名字。
<BR><BR> 为定义过程是如何执行的,BPEL拥有规定操作次序、操作循环和操作的同步与异步要求的XML定义或命令(同步操作在一个请求完成或拒绝之前阻断其他的请求者,而异步操作允许请求者不必等待响应就能继续工作)。BPEL也有负责处理故障情况的命令和取消或逆转操作的命令。
<BR><BR> 例如,保险代理的BPEL程序可能首先要求客户的财务信息,通过保险公司提供的信息(这是从UDDI搜索中发现的),最终打包提供给客户。如果出现错误或者客户拒绝(甚至在暂时接受之后),BPEL程序将做出适当的调整。
<BR><BR> 受控的图形指定从一种处理状态进入另一种状态而必须做出的选择。例如,客户的财务信息必须在(客户)征求保险报价之前收到。块结构语言提供了类似于Java、C和C++程序员的编程灵活性。
<BR><BR> BPEL像演奏交响乐那样协调业务过程,这意味着Web服务的中央控制保留在BPEL引擎中。然而,协议看来将来有可能开放分散式Web服务。分散式Web服务将不用受控的中央控制程序进行交互。BPEL发布对Web服务的执行要求的能力,看来是更分散的Web服务所需要的。
<BR><BR> 将来,办公室管理员不用同时打三个电话、或者股票代理不必在乱哄哄的交易大厅边做报价边盯着显示终端,BPEL引擎就可以做这一切,偶尔需要相关的人员点击一下鼠标。
<BR><BR></DIV></TD></TR></TBODY></TABLE>
<FORM style="MARGIN: 0px" name=TheForm
onsubmit=javascript:document.all.Submit1.disabled=true; action=view.asp
method=post>
<TABLE cellSpacing=1 cellPadding=5 width="100%" align=center bgColor=#6595d6
border=0>
<TBODY>
<TR bgColor=#fff5ec>
<TD vAlign=top align=middle bgColor=#fff5ec colSpan=2 height=3>
<DIV align=left><FONT
color=#ff0000>本帖内容仅代表网友观点,与希赛网立场无关。如发现帖子内容有与法律抵触之处,请向<A class=chinablue
href="mailto:master@csai.cn">网站管理员</A>举报。</FONT></FONT></DIV></TD></TR>
<TR>
<TD class=chinabai vAlign=top align=middle bgColor=#6595d6 colSpan=2
height=3><IMG height=16 src="英汉对照业务过程执行语言(BPEL)简介_files/shownew.gif"
width=16 align=absMiddle><FONT
color=#ffffff>注意:本社区里的任何言论仅代表发言者个人的观点,与希赛网立场无关。请对您的言论负责,遵守中华人民共和国有关法律、法规。如果您的帖子违反<A
class=chinahong href="http://bbs.csai.cn/bbs/help/index.asp"
target=_blank><STRONG>希赛网社区规则</STRONG></A>,将立即删除;如果再次发布,则封IP。</FONT></TD></TR>
<TR>
<TD vAlign=top bgColor=#fefefe height=22><A name=Answer></A><IFRAME
src="英汉对照业务过程执行语言(BPEL)简介_files/inc_search.htm" frameBorder=0 width="100%"
height=22></IFRAME><FONT color=red>Firefox浏览器用户请使用编辑器的[粘贴]按钮进行粘贴</FONT>
<INPUT type=hidden value={59A8E6C6-16F5-4DBD-85B5-351B205AB5EA}
name=backtitle>
<DIV><INPUT id=PContent style="DISPLAY: none" type=hidden
name=PContent><INPUT id=PContent___Config style="DISPLAY: none"
type=hidden value=SkinPath=/fckeditor23/editor/skins/silver/><IFRAME
id=PContent___Frame src="英汉对照业务过程执行语言(BPEL)简介_files/upload.htm"
frameBorder=0 width="100%" scrolling=no height=260></IFRAME></DIV><INPUT
type=hidden value=1 name=backpage></TD></TR>
<TR>
<TD class=hai vAlign=top align=middle bgColor=#efefef height=22><INPUT
type=hidden value=post name=action> <INPUT type=submit value=提交回复 name=Submit1>(按撤消键或CTRL+Z进行撤消)</TD></TR></TBODY></TABLE></FORM><FONT
color=#666666>140.62500ms</FONT> </DIV>
<DIV id=body_right
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: right; OVERFLOW-X: hidden; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 176px; PADDING-TOP: 0px">
<DIV style="BACKGROUND-COLOR: #f7f7f7"><A class=chinablue
href="javascript:closead();"><IMG height=30
src="英汉对照业务过程执行语言(BPEL)简介_files/closead_bt.gif" width=176 border=0></A></DIV>
<TABLE borderColor=#6595d6 height="100%" cellSpacing=0 borderColorDark=#ffffff
cellPadding=0 width=177 bgColor=#ffffff border=1>
<TBODY>
<TR>
<TD vAlign=top>
<SCRIPT type=text/javascript>
var arrBaiduCproConfig=new Array();
arrBaiduCproConfig['uid'] =341368;
arrBaiduCproConfig['n'] ='csai_cpr';
arrBaiduCproConfig['tm'] =18;
arrBaiduCproConfig['cm'] =196;
arrBaiduCproConfig['um'] =22;
arrBaiduCproConfig['w'] =173;
arrBaiduCproConfig['h'] =600;
arrBaiduCproConfig['wn'] =1;
arrBaiduCproConfig['hn'] =4;
arrBaiduCproConfig['ta'] ='left';
arrBaiduCproConfig['tl'] ='top';
arrBaiduCproConfig['bu'] =1;
arrBaiduCproConfig['bd'] ='#DD6400';
arrBaiduCproConfig['bg'] ='#FEF0E2';
arrBaiduCproConfig['tt'] ='#0000ff';
arrBaiduCproConfig['ct'] ='#333333';
arrBaiduCproConfig['url'] ='#666666';
arrBaiduCproConfig['bdl'] ='#ffffff';
arrBaiduCproConfig['rad'] =1;
</SCRIPT>
<SCRIPT src="英汉对照业务过程执行语言(BPEL)简介_files/ui.js"
type=text/javascript></SCRIPT>
<SCRIPT type=text/javascript>
<!--
document.write(baiduCproIFrame());
-->
</SCRIPT>
<DIV style="MARGIN: 0px; OVERFLOW: hidden; WIDTH: 173px">
<SCRIPT src="英汉对照业务过程执行语言(BPEL)简介_files/rightlist.htm"
type=text/javascript></SCRIPT>
</DIV></TD></TR></TBODY></TABLE></DIV></DIV>
<SCRIPT>
function closead(){
var d_left=document.getElementById("body_left");
//var t_left=document.getElementById("body_leftTab");
var d_right=document.getElementById("body_right");
var arrDiv=document.getElementsByTagName("div");
for (var i=0;i<arrDiv.length;i++){
if(arrDiv[i].id=="cont_right") arrDiv[i].style.width='668px';
}
d_left.style.width='777px';
//t_left.style.width='777px';
d_right.style.display='none';
}
</SCRIPT>
<SCRIPT src="英汉对照业务过程执行语言(BPEL)简介_files/api.js"></SCRIPT>
<DIV style="FLOAT: left" align=center><BR>
<SCRIPT language=javascript
src="英汉对照业务过程执行语言(BPEL)简介_files/showAds.htm"></SCRIPT>
<SCRIPT language=javascript src="英汉对照业务过程执行语言(BPEL)简介_files/right.htm"></SCRIPT>
</DIV></DIV></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -