Console Application Web Service Deployment via I/O Stream Injection
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Converting console applications into a format accessible for remote users is a time-consuming and costly process, as it often requires reworking of code and complex integration with graphical user interface components.
Innovation Solution
A method and system that deploy console applications as web services, using a server with a deployer module to analyze and create operations for main methods, an injection module to change input/output streams during runtime, and a web service module to provide remote access, allowing users to interact with console applications through a memory store without reworking the source code.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If console applications are converted into a form for remote user interaction, then remote accessibility is improved, but development time and cost increase significantly
Solution Approach 1:
The patent creates a virtual copy of the console application's input/output environment within the web service layer. Instead of modifying the original console application code, it replicates the console I/O behavior through software abstractions that interface with the existing application, enabling remote access without reworking the source code.
Solution Approach 2:
The patent introduces a web service as an intermediary layer between remote users and the console application. This mediator translates web service requests into console application input and captures console output, presenting it to users in a remote-accessible format without requiring changes to the original application.
2Ease of operation
If console applications are converted into a form for remote user interaction, then remote accessibility is improved, but conversion cost increases
Solution Approach 1:
The patent creates a virtual copy of the console application's input/output environment within the web service layer. Instead of modifying the original console application code, it replicates the console I/O behavior through software abstractions that interface with the existing application, enabling remote access without reworking the source code.
Solution Approach 2:
The console application itself remains unchanged and continues to function as originally designed. The web service layer handles all adaptation work, allowing the original application to serve itself remotely without requiring external modification or maintenance effort.
3Device complexity
If code injection is used to change input/output streams, then integration complexity is reduced, but system reliability may be affected
Solution Approach 1:
The patent introduces a web service as an intermediary layer between remote users and the console application. This mediator translates web service requests into console application input and captures console output, presenting it to users in a remote-accessible format without requiring changes to the original application.
Solution Approach 2:
The patent creates a virtual copy of the console application's input/output environment within the web service layer. Instead of modifying the original console application code, it replicates the console I/O behavior through software abstractions that interface with the existing application, enabling remote access without reworking the source code.
Data Source
AI summary
A method performed by a server computing system includes generating an operation for a web service, the operation corresponding to at least one main method of a console application, receiving input data from a client device through the operation, writing the input data to a memory store, executing the console application using the input data of the memory store, injecting code into the console application, the code to change input/output streams from a console input/output to the memory store. The method further includes writing an output of the console application to the memory store.


