首页> 外国专利> System and method for supporting transactions for a thin client lacking a persistent store in a distributed object-oriented environment

System and method for supporting transactions for a thin client lacking a persistent store in a distributed object-oriented environment

机译:在分布式面向对象环境中为缺乏持久存储的瘦客户机支持事务的系统和方法

摘要

A system, method, and apparatus for enabling a thin client to participate in a global transaction in a distributed object-oriented transaction processing environment that commits resources according to a two-phased commit protocol. The thin client is configured with a pseudo- transaction manager (PTM), and a remote server managing the commit procedure is configured with an object transaction manager having an interface to the (PTM). When an application on the thin client sends a request to begin a transaction, the PTM creates a temporary propagation context including a Global ID identifying the transaction and sets a flag in the context to indicate that this is a new transaction. The context is sent to a remote server for execution of a remote method. Upon receipt, the remote server recognizes that this is a new transaction and creates a real propagation context including its Resource Coordinator Proxy ID, the global ID, and a Recovery Coordinator Name useful for a recovery process in the event of transaction failure. The real context is replied to the PTM, which updates and replaces its temporary context with the real context. The real context is then sent to any downstream remote server participating in the global transaction, and each (Subordinate) registers to the Resource Coordinator identified in the context. The real context containing the Global ID generated by the thin client is used by the PTM for requests to any servers involved in the transaction, while the remote server manages the two-phase commit procedure.
机译:一种用于使瘦客户机能够参与根据两阶段提交协议来提交资源的分布式面向对象事务处理环境中的全局事务的系统,方法和装置。瘦客户端配置有伪事务管理器(PTM),管理提交过程的远程服务器配置有对象事务管理器,该对象事务管理器具有到(PTM)的接口。当瘦客户机上的应用程序发送开始事务的请求时,PTM将创建一个临时传播上下文,其中包括标识该事务的全局ID,并在上下文中设置一个标志以指示这是新事务。上下文被发送到远程服务器以执行远程方法。接收后,远程服务器将识别出这是一个新事务,并创建一个真实的传播上下文,包括其资源协调器代理ID,全局ID和恢复协调器名称,在事务失败时可用于恢复过程。真实上下文会回复给PTM,后者会用真实上下文更新并替换其临时上下文。然后,将实际上下文发送到参与全局事务的任何下游远程服务器,并且每个(下级)注册到上下文中标识的资源协调器。 PTM将包含瘦客户机生成的全局ID的实际上下文用于对事务中涉及的任何服务器的请求,而远程服务器则管理两阶段提交过程。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号