首页>
外国专利>
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.
展开▼