Figure 1 illustrates what happens when you use local transactions without a compensation framework.
图1展示了不使用补偿框架只使用本地事务会发生什么。
Notice that once the stored procedure returns successfully it registers with the compensation framework.
注意,一旦存储过程成功返回,它就会使用补偿框架注册。
Writing a custom compensation framework sounds like a daunting task, but it isn't overly complex — just time consuming.
编写自定义补偿框架似乎令人望而生畏,但实际上它并不十分复杂 — 只是很耗时。
Writing a custom compensation framework sounds like a daunting task, but it isn't overly complex - just time consuming.
编写自定义补偿框架似乎令人望而生畏,但实际上它并不十分复杂—只是很耗时。
As a result, you'll most likely find yourself creating your own custom compensation framework when using this transaction strategy.
因此,使用这种事务策略时,很可能发现要创建自己的自定义补偿框架。
The answer is that the High Performance strategy leverages the Local Transaction model in conjunction with a compensation framework.
答案是高性能策略利用本地事务模型,配合补偿框架一起使用。
The compensation framework is there only to assist in the event of an error; it doesn't get in the way when things work correctly.
补偿框架只是在发生错误时进行协助;一切正常时它不会出现。
With a compensation framework in place, when an error occurs the successful transactions are reversed, resulting in a consistent database.
补偿框架就位后,发生错误时,成功的事务会被保留,这样会维持一致的数据库。
When the third stored procedure fails, it triggers an event telling the compensation framework to reverse everything included in this compensation scope.
第三个存储过程失败时,它会触发一个事件,告诉补偿框架反转此补偿范围中包含的一切。
The source code example in Listing 3 illustrates the technique of applying a custom compensation framework to the original application source code in Listing 1
清单3中的源代码示例阐释了将自定义补偿框架应用到 清单1 中的原始应用程序源代码的技术
Also, you don't need to use JMS asynchronous messaging for the compensation framework, but I find it useful for addressing issues surrounding compensation failures.
另外您不需要对补偿框架使用jms异步消息传递,但是我发现在处理补偿故障相关的问题时它很有用。
The rest of this article describes an existing compensation framework and shows a simple implementation using a custom solution to illustrate the concepts I've described.
本文剩下的部分将介绍现有的补偿框架并展示一个使用自定义解决方案的简单实现来阐释我前面介绍的概念。
The source code in Listings 2 and 3 is certainly far from production-ready, but it does illustrate the techniques involved with building a compensation framework of your own.
清单2和3中的源代码距离用于生产的标准还比较远,但是它的确阐释了构建您自己的补偿框架涉及的技术。
Although the J2EE Activity Service specification is primarily targeted for application server vendors, you can apply the same concepts to your own custom compensation framework.
尽管J2EEActivityService规范主要针对应用服务器厂商,也可以将同样的概念应用到您自己的自定义补偿框架。
Whether you use an open source, commercial, or custom compensation framework, you still must provide the method, SQL, or stored procedure to invoke to reverse the database update operations.
无论使用开源、商业还是自定义补偿框架,您都必须提供可以调用的方法、SQL或存储过程来反转数据库更新操作。
For example, a framework for filling a job vacancy will be very specific, whereas a framework for evaluating compensation will need to cover a wide range of roles.
例如填补一个岗位空缺的架构将会非常具体反之,评估薪水的架构则需要覆盖很大范围的岗位。
Based on mihaly Csikszentmihalyi's flow model, he introduces a framework for determining compensation that balances employee contributions against job satisfaction.
根据mihaly Csikszentmihalyi的流模型,他引入了一个框架,为了确定用来根据工作满意度平衡职工贡献的补偿。
This is particularly useful when using the framework for compensation or performance reviews.
当使用薪酬或绩效评审的架构时这点就会特别有用。
His intention was not that this should be applied particularly to the workplace, but managers soon saw the relevance of Maslow's framework to compensation packages.
他最初并没有计划将这套理论专门适用于职场,但是经理人很快发现了马斯洛的理论和薪酬方案之间的相关性。
This article is a study on executive compensation in China's listed company based upon framework of principal-agent theory.
本文正是基于委托-代理框架对我国上市公司管理层激励问题进行研究。
This paper discusses the design method of adopting UEA compensation contraction concrete, without installing expansion joint in the entire cast-in-place framework of a college canteen.
本文论述了某高校食堂全现浇框架结构未设置伸缩缝,而采用UEA补偿收缩混凝土的设计方法。
Under the framework, the state provides economic assistance to victims of crime who are unable to obtain financial compensation, to help them through difficulties.
国家对受到侵害但无法获得有效赔偿的刑事被害人等给予经济资助,帮助其摆脱生活困境。
The most common video stabilization framework including three modules: global motion estimation, motion filter and motion compensation.
通常电子稳像算法主要包括三部分:全局运动估计模块,运动平滑模块和运动补偿模块。
The most common video stabilization framework including three modules: global motion estimation, motion filter and motion compensation.
通常电子稳像算法主要包括三部分:全局运动估计模块,运动平滑模块和运动补偿模块。
应用推荐