Program Code Object Context Access via Tag Identifier
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current application servers, such as CICS, lack the ability to utilize application context without requiring modifications to existing program code, which hinders their integration with Cloud computing features like workload management and resource sharing across different processing regions.
Innovation Solution
A method is introduced to identify and associate a program code object with an application context in an application server environment using a tag identifier, allowing the program code object to access and maintain the application context throughout its execution, even when processing migrates across different regions.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If application context is integrated into application servers like CICS, then Cloud computing features such as workload management and resource sharing are enabled, but existing program code objects cannot access the application context without modifications
Solution Approach 1:
The patent introduces an intermediary mechanism (context identifier and context management system) that bridges program code objects and application context. The context identifier acts as a mediator that program code can reference to access application context without direct modification, while the context management system handles the complex mapping and retrieval operations, thus enabling Cloud computing integration without requiring program code changes.
Solution Approach 2:
The patent segments the application context access mechanism into distinct components: context identifiers, context management system, and context storage. This segmentation allows program code objects to interact with application context through simple identifier references rather than requiring integration with the entire context management infrastructure, reducing the complexity burden on existing program code.
2Reliability
If program code objects are required to conform to specific programming models of frameworks, then framework capabilities are utilized, but flexibility and portability across different frameworks are reduced
Solution Approach 1:
The patent creates a universal context access mechanism that works across different frameworks and application server environments. The context identifier and context management system provide a framework-agnostic interface that enables program code objects to access application context regardless of the specific framework being used, thus maintaining framework capability utilization while improving programming model flexibility and portability.
Data Source
AI summary
A method is provided for operating a program code object in conjunction with an application context in an application server environment. The method includes identifying a program code object in the application server environment and identifying an application context enabling the provision of a service. The application context is not directly accessible by the program code object. An entry point of the program code object is identified and a tag identifier referencing the application context is associated with the entry point. When executing the program code object in the application server environment, the tag identifier is used to access the application context.


