它们根据需要进行通信以完成工作,按自己的计划封装了要做什么、如何做以及何时做,并带有清楚的“从运行到完成的工作方式”语义。
They communicate as required to get the job done, encapsulating what to do, how to do it, and when to do it on their own schedule, and with clear "run to completion" semantics.
Command 对象封装了与动作的语义相关的名称和信息。
The Command object encapsulates the name and information related to the semantics of an action.
Web服务将对具体业务功能进行封装,这就隐藏了供请求程序用于理解数据和服务语义所需的信息。
While web services encapsulate specific business functionality, this hides the information required by requesters to understand the data and service semantics.
应用推荐