System for hiding runtime environment dependent part
a runtime environment and dependency technology, applied in the software field, can solve the problems of poor maintenance and re-usability, and achieve the effect of improving maintenance and re-usability of software, avoiding the necessity of re-compiling, and changing easily
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Benefits of technology
Problems solved by technology
Method used
Image
Examples
example 1
[0074]Examples of the runtime environment dependency hiding apparatus shown in FIGS. 1 and 2 will be explained in detail below with reference to FIGS. 4 to 8. In this example, a native method interface as a rule for making a program described in the Java language correspond to a program described in another language such as C, C++, or the like will be taken as an example of a part that depends on the runtime environment in a Java program, and a method of eliminating platform dependence of the native method interface will be explained. As described above, different native method interfaces are prepared in correspondence with the kinds of VMs. That is, when the VM to be used is the JDK VM provided by Sun Microsystems, Inc., a shared library corresponding to JNI (Java Native Interface) must be loaded; when the VM to be used is the MS VM available from Microsoft Corp., a shared library corresponding to RNI (Raw Native Interface) must be loaded.
[0075]As shown in FIG. 4, the runtime envir...
example 2
[0098]An example of the runtime environment dependency hiding apparatus shown in FIG. 3 will be explained below with reference to FIGS. 9 to 13. In this example as well, a native method interface will be taken as an example of a part that depends on the runtime environment in a Java program, and a method of eliminating platform dependence of the native method interface will be explained, as in the example shown in FIGS. 4 to 8.
[0099]As shown in FIG. 9, the runtime environment dependency hiding apparatus 52 comprises a runtime information acquisition unit (environment information acquisition unit) 1, property list generation unit (dependence information generation unit) 2, property name generation unit (search key generation unit) 3, shared library name search unit (dependence information search unit) 4, shared library load unit (process execution unit) 5, and acquisition target element name extraction unit 17, and these units are controlled by a main logic unit 10.
[0100]The runtime ...
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