A launcher and method of launching
A launcher and configuration file technology, applied in the direction of program loading/starting, program control devices, etc., can solve the problems of high startup cost, large workload, and complex configuration files of Java independent applications, so as to reduce the configuration workload and reduce The effect of start-up costs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0048] Embodiment 1 of the present invention discloses a starter, such as figure 1 As shown, the launcher includes a reading module 100 , a path generating module 200 and a loading module 300 .
[0049]The applicant found through research that although the configuration files of Java independent applications are too complicated, each application needs to be configured similarly, that is, the work of starting configuration for multiple Java independent applications includes a lot of repetitive work. Based on this situation, in order to reduce the workload of startup configuration and reduce the cost of application startup, the present invention obtains the repeated and identical configuration items of each Java independent application in advance, and adds them as common configuration items to the launcher configuration file for one-time execution. Configuration, the launcher configuration file is used as a common file for subsequent launching of each Java independent applicatio...
Embodiment 2
[0066] The second embodiment of the present invention discloses another structure of the starter, which includes the modules in the first embodiment. Please refer to image 3 , and also includes a log redirection module 400 , an encryption module 500 , a search module 600 , a decryption module 700 and a return module 800 .
[0067] The log redirection module 400 is used for redirecting the log to the file specified by the log configuration.
[0068] The log configuration is included in the application configuration file, that is, in the second embodiment, the application configuration file also includes the log configuration on the basis of including the application classpath.
[0069] The encryption module 500 is configured to encrypt the class or configuration file or code file of the target Java independent application that needs to be encrypted.
[0070] Among them, the configuration file is specifically the configuration file required for accessing the target service dur...
Embodiment 3
[0081] Embodiment 3 of the present invention continues to improve and optimize the starters in Embodiments 1 and 2, such as Figure 4 As shown, it also includes a plug-in deployment module 900 and a path hiding module 1000 on the basis of the modules introduced above.
[0082] The plug-in deployment module 900 is configured to dynamically load the changed code when the code of the target Java independent application is changed.
[0083] The Java stand-alone application in the prior art cannot implement plug-in deployment, that is, cannot dynamically load the changed code. When the code is changed, the application needs to be stopped and restarted to load the changed code. In view of this drawback, the present invention provides a plug-in deployment module 900 to solve this problem and realize the function of dynamically loading the changed code. Specifically, this module adds a check code to the code in advance, and stipulates that when the code is changed, the check code is ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com