发明名称 Use of thread-local storage to propagate application context in Java 2 enterprise editon (J2EE) applications
摘要 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.
申请公布号 US2005039186(A1) 申请公布日期 2005.02.17
申请号 US20030640619 申请日期 2003.08.12
申请人 BORKAN MARTHA S. 发明人 BORKAN MARTHA S.
分类号 G06F9/00;(IPC1-7):G06F9/00 主分类号 G06F9/00
代理机构 代理人
主权项
地址