首页> 外国专利> Use of thread-local storage to propagate application context in Java 2 enterprise editon (J2EE) applications

Use of thread-local storage to propagate application context in Java 2 enterprise editon (J2EE) applications

机译:使用线程本地存储在Java 2企业编辑(J2EE)应用程序中传播应用程序上下文

摘要

In a J2EE application server, a method of passing context information among transactions in a hierarchical parent-child transaction chain executing in a single thread of execution. The method comprises generating a correlator corresponding to a top level transaction spawning a plurality of child transactions in the parent-child transaction chain. The correlator is stored in a Java thread local (JTL) stack associated with the thread of execution. For each child transaction, the JTL stack is referenced to access a correlator associated with a parent of the child transaction. The method further comprises utilizing context information provided by said parent correlator to generate a correlator for said child transaction.
机译:在J2EE应用程序服务器中,这是一种在单个执行线程中执行的分层父子事务链中的事务之间传递上下文信息的方法。该方法包括生成与顶层交易相对应的相关器,该顶层交易在父子交易链中产生多个子交易。相关器存储在与执行线程关联的Java线程本地(JTL)堆栈中。对于每个子事务,将引用JTL堆栈来访问与子事务的父级关联的相关器。该方法还包括利用由所述父相关器提供的上下文信息来生成用于所述子事务的相关器。

著录项

  • 公开/公告号US2005039186A1

    专利类型

  • 公开/公告日2005-02-17

    原文格式PDF

  • 申请/专利权人 MARTHA S. BORKAN;

    申请/专利号US20030640619

  • 发明设计人 MARTHA S. BORKAN;

    申请日2003-08-12

  • 分类号G06F9/00;

  • 国家 US

  • 入库时间 2022-08-21 22:23:10

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号