Hybrid Thread Context Attachment for Cross-Environment Interoperability
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing application server environments face challenges in enabling seamless coexistence and portability of applications between different environments, particularly in supporting 'software as a service' and cloud computing models, due to the need for wrappers, connectors, or adapters that add processing overhead and limit performance, reliability, and serviceability.
Innovation Solution
A method for creating and managing hybrid computer threads that intercept work requests, modify threads to be compatible with multiple application server environments, allowing them to execute unmodified in both environments, by attaching context data such as transactional, security, and diagnostic tracing data, facilitating interoperability between incompatible program execution models.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If wrappers, connectors, or adapters are used to enable applications to run across different application server environments, then adaptability between environments is improved, but processing overhead increases and performance deteriorates
Solution Approach 1:
The patent introduces a thread context attachment mechanism as an intermediary layer between the application thread and multiple application server environments. Instead of using heavy wrappers or adapters, the invention attaches environment-specific context data to the thread itself, allowing the same thread to operate across different environments (e.g., CICS and Java) without requiring translation layers. This eliminates the processing overhead associated with wrappers while maintaining environment compatibility.
2Adaptability or versatility
If wrappers, connectors, or adapters are introduced to support multiple application server environments, then versatility is improved, but system complexity increases
Solution Approach 1:
The patent extracts the environment-specific functionality from heavy wrapper structures and embeds it directly into the thread context. By taking out the essential environment parameters (transactional, security, diagnostic data) and attaching them to the thread, the system eliminates the need for complex wrapper architectures. This reduces system complexity while maintaining the ability to support multiple application server environments.
3Adaptability or versatility
If traditional wrappers or adapters are used for environment translation, then adaptability between different application server environments is improved, but reliability and serviceability deteriorate
Solution Approach 1:
The patent merges the application thread with environment-specific context data into a unified hybrid thread structure. Instead of maintaining separate wrapper layers that introduce potential failure points, the invention combines the thread execution context with environment parameters directly. This merging eliminates the reliability issues associated with wrapper translation layers while maintaining interoperability between different application server environments through the attached context.
Data Source
AI summary
A technique for operating a computer system to support an application, a first application server environment, and a second application server environment includes intercepting a work request relating to the application issued to the first application server environment prior to execution of the work request. A thread adapted for execution in the first application server environment is created. A context is attached to the thread that non-disruptively modifies the thread into a hybrid thread that is additionally suitable for execution in the second application server environment. The hybrid thread is returned to the first application server environment.


