Nothing Special   »   [go: up one dir, main page]

CN100489778C - Method for implementing dynamic update of Java program - Google Patents

Method for implementing dynamic update of Java program Download PDF

Info

Publication number
CN100489778C
CN100489778C CNB2007101707679A CN200710170767A CN100489778C CN 100489778 C CN100489778 C CN 100489778C CN B2007101707679 A CNB2007101707679 A CN B2007101707679A CN 200710170767 A CN200710170767 A CN 200710170767A CN 100489778 C CN100489778 C CN 100489778C
Authority
CN
China
Prior art keywords
class
program
update
java
definition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB2007101707679A
Other languages
Chinese (zh)
Other versions
CN101174217A (en
Inventor
张仕
黄林鹏
徐小辉
王德俊
伍建焜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Jiaotong University
Original Assignee
Shanghai Jiaotong University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Jiaotong University filed Critical Shanghai Jiaotong University
Priority to CNB2007101707679A priority Critical patent/CN100489778C/en
Publication of CN101174217A publication Critical patent/CN101174217A/en
Application granted granted Critical
Publication of CN100489778C publication Critical patent/CN100489778C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)
  • Devices For Executing Special Programs (AREA)

Abstract

The invention relates to a method for realizing dynamic update of Java program in the computer technical field, which comprises the following steps: firstly, modifying the class definitions that need dynamic update in the passive dynamic update program, and adding update support method for realizing judgment to the subobjects of the class objects one by one, wherein the parameter is class loader; secondly, modifying the update class definitions in the dynamic update program, and adding update method for realizing initialization to the variables under the update class objects, wherein, the input parameter is class loader and old object; thirdly, modifying part of the method invocation, data field memory, and object set of the updated program with the Java reflection to realize running recovery of the program; finally, adding update support method to the main class and adding update checkpoint in the main method circulation. The invention has the advantages of avoiding software update that needs halt, update and reboot and avoiding loss caused by halt.

Description

Java applet can dynamically updating implementation method
Technical field
What the present invention relates to is a kind of method of field of computer technology, specifically is that a kind of java applet can dynamically updating implementation method.
Background technology
Along with the utilization of computing machine in society more and more widely, human various social activitieies rely on also just more and more tightr to it, many software systems need provide uninterrupted service for the client, can therefore software online evolution technology becomes an important topic in current software maintenance field, provide uninterrupted service also just to become the important indicator that people weigh software systems.Concerning some companies, system break is unallowed, perhaps can cause significantly improving of management cost.Therefore the finance data disposal system then can suffer enormous economic loss because of service disruption, and some need provide the system of highly reliable service can make fame and economic impaired, as telecommunication system, online service system, and grid computing and service-oriented calculating etc.; Then more arbitrarily break in service of spacecraft orbit Control Software, life-support system for another example.Therefore, need system to have in the ability that guarantees update system function under the prerequisite of not break in service.The technology of dynamically updating of software is exactly to realize this purpose by the support of system or rational software design.
In recent years, Java language obtains attention more and more widely, not only is applied to desktop system, and also is widely used in server and embedded system.This language has cross-platform advantage, can realize once compiling operation system everywhere.Therefore be necessary to propose a kind of technology and can not change Java Runtime Environment and Java language, and can accomplish the program dynamic updating that is in operation, guarantee that it 24/7/365 runs without interruption, to instruct can dynamically renovating of java applet.
Find through literature search prior art, " the Runtime support for type-safe dynamic Java classes " that Malabarba S etc. deliver on " Proceedings of theEuropean Conference on Object-Oriented Programming " 2000 the 337th to 361 page, propose in this article to replace still safety of back program, load the two kinds of problems that are easy to generate: 1) comprised non-existent method in the new class in the original program iff the type of using java to carry in order to guarantee to carry out regime type, the use of data; 2) because the inheritance of new class may produce change, this will inevitably exert an influence to some programs of using such parent, type etc., and this class mistake relatively is not easy to find.For solving these two problems two kinds of methods are arranged generally speaking, the one, revise the java language, the 2nd, revise the java virtual machine.The method that dynamically updates by expansion java class load mechanism in the literary composition, its weak point is only to point out in the literary composition and can realizes by expansion class load mechanism, but, how program such as is transformed at problem and propose feasible solution not to how not realizing new and old class object conversion in upgrading.
Summary of the invention
The present invention is directed to the deficiency of above-mentioned technology, provide a kind of java applet can dynamically updating implementation method, make it can be used in to instruct and write the java applet that can dynamically update, and renewal, updating operation during the program run can be provided.The present invention can avoid adopting the software upgrading of shutting down, upgrading, restarting, and avoids owing to shut down the loss that break in service causes, and reduction moves, the purpose of maintenance cost thereby reach.
The present invention is achieved by the following technical solutions, the present invention includes following steps:
At first, upgrade the support method to being transformed by the class definition that needs to dynamically update in the dynamic refresh routine, increasing, parameter is a class loaders.This method is used to realize that the subobject to class object judges one by one: for each subobject, upgrade if desired, then the old object of at first interim storage is created new object then and is given variable assignments, and last is the update method of its new object of parameter call with old object and class loaders; Otherwise call the renewal support method of former object, parameter is a class loaders;
Described to being transformed by the class definition that needs to dynamically update in the dynamic refresh routine, be meant: the program code that is meant the software correspondence of moving by dynamic refresh routine, the class definition that is needed in the dynamic refresh routine to dynamically update is meant in the old program definition of some classes of making amendment of need being in operation, can dynamically be upgraded in order to make these classes, need make amendment to it, increase and upgrade the support method.
The update method of described new object is meant: with respect to the class definition in the old program, the class definition that is used to replace old class definition is called new class definition, for old to as if the example of class, its update method is that the state exchange of old object is defined.
The renewal support method of described former object, be meant: for definition in the new procedures, class definition example in the original program is former object, in order to allow former object support dynamically update operation, upgrade the support method to realize functions such as state exchange and subobject replacement so need in its definition, increase.
Secondly, make amendment to upgrading class definition in the program of dynamically updating, increase update method, be mainly used in realization the variable under this new class object is carried out initialization, the input parameter of this method is class loaders and old object.Each subobject is done as follows: if subobject needs to upgrade, giving the subobject assignment so is the object of new class definition, and be the update method of the new object of parameter call, otherwise directly give new variables original object assignment with the corresponding subobject and the class loaders of old object;
Describedly make amendment to upgrading class definition in the program of dynamically updating, be meant: need to utilize new procedures to replace old program in the dynamic updating process, replacing the class of work in the new procedures need make amendment, and mainly being increases to upgrade the support method to support to upgrade operation.
Once more, need utilize the Java reflex mechanism that the part method call, data field storage and the object that are updated program are set up makes amendment, so that program can select concrete self defined class loading bin realization object to set up function, thereby effective, the correct restoring running of the program of realization.
Described dynamically updating, the program that is meant are realized the conversion of new and old edition in operational process, carry out the transition to the highest version program by the lowest version program, and do not allow out of service in the whole operation process.
The dynamic refresh routine of described quilt is meant the legacy version program of moving, this program may be in the process of operation owing to requirement such as some mistakes, efficient raising generating routine revise, the requirement of upgrading.
Described renewal support method, be meant in by dynamic refresh routine, for can support program dynamically update, in the class that need dynamically update, increase a method definition, this method is used to analyze the class definition situation of existing object, keep former object, the decision that perhaps utilizes new class definition to redefine according to whether being updated to make.If in class definition, there is not this method, can't realize the operation that dynamically updates of program so.
Described refresh routine is meant the new procedures that is used to replace old program, and this program is to some problems in the old program, comprises that the raising, function expansion etc. of improvement, the efficient of mistake improve, thereby reaches the purpose of constantly perfect program.
Described Java reflex mechanism is meant to allow operating java applet that self is checked, and the mechanism of the built-in attribute of energy direct control program.This machine-processed permission program obtains the internal information of the class of any one known title by the application programming interfaces of reflex mechanism when operation, comprise its modification, superclass, realize interface definition, all information of data field and method, and can when operation, perhaps arouse appointed method in the change data field.
Described class loaders is meant to be used for class is loaded into the java class object of Java Virtual Machine.The Java Virtual Machine normalized definition two types class loaders: start class loaders and User Defined loading bin.The class dynamic loading technology of Java Virtual Machine can dynamically load or replace some functional module of system in the time of running, and does not influence the normal operation of other functional modules of system.
At last, main classes is increased renewal support method and increase the renewal check point in main method circulation.
Described main method, be meant the method that has special effect in the Java language, being the starting point that java application is carried out, is again the window of unique and user's exchange message in the java application, is again simultaneously the gathering ground that the java application all working is finished.This method is defined as publicly-owned static state.
Described main classes, being meant all has a main method in the application program of Java language, and main method also equally must define in a class with other method, and therefore makes the class that has defined main method be called as main classes.Main method and main classes in the Java language do not have fixed relationship.If in the program a plurality of classes are arranged, can be placed on main method in any one class, and not influence the result of operation.Here giving tacit consent to main method is exactly in main classes.
Described renewal check point is meant the opportunity that some help upgrading, and this some place active program has less method call, less storehouse variable or the like.
Proposition of the present invention is to define based on program level fully, do not relate to the modification of Java Runtime Environment aspect, therefore do not need the support of operational system, so can use in all java applets, guaranteed that Java once compiles, Yun Hang character everywhere, that is: the source program of Java is when compiling, direct compilation does not become the particular machines language program, but be compiled into " bytecode " with system independence, carried out by Java Virtual Machine, JVM makes java applet " once to compile, everywhere operation ".
The present invention is by utilizing the self defined class load mechanism, guaranteed that system can load of a sort a plurality of version according to the difference of class loaders, and made their coexistences, so that guarantee can the phase mutual interference between the new and old thread.By actual definition, can determine there being the processing of thread or object simultaneously, guarantee the continuity of existing program utilization according to actual conditions to update method.The present invention can realize the transparency of program dynamic updating.Can realize the remote download of java class by the self defined class load mechanism, functions such as automatic inquiry needing to have avoided the user to participate in complicated dynamic updating process.This is particularly important for some complication systems.
Embodiment
Below embodiments of the invention are elaborated: present embodiment is being to implement under the prerequisite with the technical solution of the present invention, provided detailed embodiment and concrete operating process, but protection scope of the present invention is not limited to following embodiment.
The Java language program that embodiment adopts is as basic background, and whole application is based on a Client software.Client is kept calling of server end do not interrupted, can have a plurality of clients constantly to set up new connection simultaneously.Server software is a certain port of inquiry constantly, then sets up thread and be its service when receiving request of access.Be the continuity that can realize that service is served in renewal process, determine that the class that need dynamically update mainly contains the class definition Compare (self-defined class name) of an object in service thread class CompThread (self-defined class name) and the thread class.This more fresh target be class CompThread, then server software need be made amendment according to implementation method of the present invention, concrete modify steps is as follows:
1. increase and upgrade the support method to dynamically being upgraded class CompThread.
Upgrading the support method need dynamically defined in the refresh routine.The input parameter of this method is a class loaders, in the method, need be to the object { Obj_1 that comprises in all these objects, Obj_2, carry out following operation one by one: judge whether object Obj_i needs to dynamically update, if this object class file was modified recently, need dynamically update, will utilize new class definition and class loaders to create a new object Obj_i ' so, the old object of interim storage, and, be the update method of the new object Obj_i ' of parameter call then with old object with former variable is pointed to new object; If such does not need to dynamically update, so directly call the renewal support method of this class object, parameter is a class loaders.The program that is in operation, needs are created the corresponding relation of a class name and class loaders, and dynamically updating each time afterwards all needs these mapping relations are safeguarded, so that can utilize up-to-date class loaders to load specific class.
Described class file was modified recently, was meant according to nearest modification time of class file and institute to compare the record modification time, if should upgrade the time, illustrated that so such was modified recently.
2.CompThread redetermination in increase update method.
In the redetermination of CompThread, need to increase update method.The input parameter of this method is class loaders and old CompThread class object.In the method, the subobject class Compare that may upgrade is carried out following operation: judge at first whether subobject needs to dynamically update, if this object class file was modified recently, need dynamically update, will utilize new class definition and class loaders to create a new subobject so and replace old subobject; Be the update method of the new subobject of parameter call then with old subobject; If such does not need to dynamically update, so directly call the renewal support method of such subobject, parameter is a class loaders.If refresh routine need support dynamically to be upgraded operation, so also must increase and upgrade the support method, as the basis that dynamically updates operation later on.Its define method is described with 1.
Described subobject is at the object that comprises it, if comprise object A1, A2 among the object A, is its subobject to being included in that object among the A can be called so.
3. increase during the main classes program realizes and upgrade the support method.
In main classes, can only realize its object variable that comprises is dynamically updated, and can't realize the replacement operation of main object.Renewal support method in the main classes is different with this method definition in the general class.Main classes upgrades the support method does not have input parameter, and it is achieved as follows: check whether the main classes definition needs to upgrade operation, if desired, then creates a new class loaders, and this class loaders just is used as this new class loaders that dynamically updates operation; Then, upgrade the support method all subobjects in the main classes are carried out following operation one by one, have only the CompThread class in this example.Judge at first whether the class definition of subobject has done modification, if, then utilize temporary variable to store this subobject, call and utilize new class loaders to load this class definition, and give dependent variable according to this subobject of redetermination establishment and assignment, call the update method of this subobject then, parameter is old subobject and the new class loaders of creating; If the subobject class definition does not make an amendment, so only need call the renewal support method of this subobject, and with the class loaders of new establishment as parameter.
Described main method, be meant the method that has special effect in the Java language, being the starting point that java application is carried out, is again the window of unique and user's exchange message in the java application, is again simultaneously the gathering ground that the java application all working is finished.This method is defined as publicly-owned static state.
Described main classes, being meant all has a main method in the application program of Java language, and main method also equally must define in a class with other method, and therefore makes the class that has defined main method be called as main classes.Main method and main classes in the Java language do not have fixed relationship.If in the program a plurality of classes are arranged, can be placed on main method in any one class, and not influence the result of operation.Here giving tacit consent to main method is exactly in main classes.
4. revise method call, data field storage and the object of the program that is updated and set up mode.
According to the load mechanism of Java, what use under the default situation is the loading bin of parent, in order to load of a sort different editions definition in a program, just need utilize different class loaders.For this reason, the definition for new class object realizes with the newInstance method.By the same token, the method call for new object in the program need call with the method for interface or with the invoke method of Java.In this example, mainly be modified in the main classes the establishment of thread object and call, the establishment and the call method of Compare class object in the CompThread class.
Described newInstance method is meant a kind of Object Creation mode of Java.The difference that it and new create object is that the mode of their establishment objects is different, and newInstance is to use the class load mechanism.The Object Creation of this mode mainly be consider software scalable, can expand and software design idea such as reusable.
Described invoke method is meant the method for using reflection to call class, is the important composition of Java reflex mechanism, and this method is the method among the class java.lang.reflect.Method.Java.lang.reflect.Method is a class name among the Java.
5. the selection of Renewal Time.
For dynamically updating the operation selection on opportunity, main consideration is operated to such an extent that influence to renewal.By selecting the reasonable Renewal Time that gets, reduce the possibility of upgrading error in operation.Renewal Time all is to be selected in the rest point place to carry out dynamically generally speaking, and at this constantly, invoked function is less, has fewer in the storehouse or does not have data, from remaining static on the whole of program.Inspection to the demand that dynamically updates is in principal function, also is that principal function from main classes begins so upgrade affairs.By receiving client access request laggard action attitude renewal inspection and operation, dynamically updating the interference that is subjected in this example to reduce as far as possible.
The event handling of described principal function circulation is meant that principal function always constantly accepts external request, makes corresponding processing according to concrete request then, and the cyclic process of this inquiry, acceptance, processing is exactly the event handling circulation of principal function.
The implementation result of present embodiment shows as: after starting server program, can conduct interviews to it long-range by client, propose services request, a plurality of clients can be visited simultaneously simultaneously.In operational process, utilize new main classes and CompThread class file to replace ancient deed, and then during the client-requested visit, server software loads new class definition automatically, and generate the new thread object and receive client-requested.Then show as the service continuous service from client, but the result who obtains is calculated by new class object.Also in fact realized dynamically updating of server software.

Claims (8)

1, a kind of java applet can dynamically updating implementation method, it is characterized in that, comprises the steps:
1. to being transformed by the class definition that needs to dynamically update in the dynamic refresh routine, increase and upgrade the support method, parameter is a class loaders, and this method is used to realize that the subobject to class object judges one by one:
For each subobject, upgrade if desired, then the old object of at first interim storage, create new object then and give variable assignments, last is the update method of its new object of parameter call with old object and class loaders, otherwise calls the renewal support method of former object, and parameter is a class loaders;
The renewal support method of described former object, be meant: for definition in the new procedures, class definition example in the original program is former object, in order to allow former object support dynamically update operation, need in its definition, increase and upgrade the support method to realize state exchange and subobject replacement function;
The update method of described new object is meant: for the class definition in the old program, the class definition that is used to replace old class definition is called new class definition, for old to as if the example of class, its update method is that the state exchange of old object is defined;
2. make amendment to upgrading class definition in the program of dynamically updating, increase update method, be used to realize the variable under the new object of step described in is 1. carried out initialization, the input parameter of this method is class loaders and old object, and each subobject is done as follows:
If subobject needs to upgrade, giving the subobject assignment so is the object of new class definition, and is the update method of the new object of parameter call with the corresponding subobject and the class loaders of old object, otherwise directly gives new variables original object assignment;
3. utilize the Java reflex mechanism that the part method call, data field storage and the object that are updated program are set up and make amendment, so that program can select concrete self defined class loading bin realization object to set up function, thus the restoring running of the program of realization;
4. main classes is increased to upgrade the support method and increase in main method circulation and upgrade check point.
2, java applet according to claim 1 can dynamically updating implementation method, it is characterized in that, described to being transformed by the class definition that needs to dynamically update in the dynamic refresh routine, be meant: the program code that is meant the software correspondence of moving by dynamic refresh routine, the class definition that is needed in the dynamic refresh routine to dynamically update is meant in the old program definition of some classes of making amendment of need being in operation, can dynamically be upgraded in order to make these classes, need make amendment to it, increase and upgrade the support method.
3, java applet according to claim 1 can dynamically updating implementation method, it is characterized in that, describedly make amendment to upgrading class definition in the program of dynamically updating, be meant: need to utilize new procedures to replace old program in the dynamic updating process, replacing the class of work in the new procedures need make amendment, and mainly being increases to upgrade the support method to support to upgrade operation.
4, java applet according to claim 1 can dynamically updating implementation method, it is characterized in that, described renewal support method, be meant in by dynamic refresh routine, for can support program dynamically update, in the class that need dynamically update, increase a method definition, this method is used to analyze the class definition situation of existing object, keep former object according to whether being updated to make, the decision that perhaps utilizes new class definition to redefine, if in class definition, there is not this method, can't realize the operation that dynamically updates of program so.
5, can dynamically updating implementation method according to claim 1 or 2 or 4 described java applets, it is characterized in that, described dynamically updating, the program that is meant realizes the conversion of new and old edition in operational process, carry out the transition to the highest version program by the lowest version program, and in the whole operation process, do not allow out of service;
The dynamic refresh routine of described quilt is meant the legacy version program of moving, and this program may require and the requirement of generating routine modification, upgrading owing to some mistakes, efficient improve in the process of operation;
Described refresh routine is meant the new procedures that is used to replace old program, and this program comprises that to some problems in the old program improvement, the raising of efficient, the function expansion of mistake improved, thereby constantly improved program.
6, java applet according to claim 1 can dynamically updating implementation method, it is characterized in that, described Java reflex mechanism, be meant and allow operating java applet that self is checked, and the mechanism of the built-in attribute of energy direct control program, reflex mechanism allows program to obtain the internal information of the class of any one known title by the application programming interfaces of reflex mechanism when operation, all information that comprise its modification, superclass, realization interface definition, data field and method, and can when operation, perhaps arouse appointed method in the change data field.
7, java applet according to claim 1 can dynamically updating implementation method, it is characterized in that, described class loaders, be meant and be used for class is loaded into the java class object of Java Virtual Machine, the Java Virtual Machine normalized definition two types class loaders: start class loaders and User Defined loading bin, the class dynamic loading technology of Java Virtual Machine dynamically loads or replaces some functional module of system in the time of running, and does not influence the normal operation of other functional modules of system.
8, java applet according to claim 1 can dynamically updating implementation method, it is characterized in that, described main method, be meant the method that has special effect in the Java language, it is the starting point that a java application is carried out, be again the window of unique and user's exchange message in the java application, be again simultaneously the gathering ground that the java application all working is finished, and this method is defined as publicly-owned static state;
Described main classes, be meant a main method is all arranged in the application program of Java language, main method also equally must define in a class with other method, and therefore make the class that has defined main method be called as main classes, main method and main classes in the Java language do not have fixed relationship, if in a program a plurality of classes are arranged, main method are placed in any one class, and do not influence the result of operation, giving tacit consent to main method here is exactly in main classes;
Described renewal check point is meant the opportunity that some help upgrading, and this some place active program has less method call, less storehouse variable.
CNB2007101707679A 2007-11-22 2007-11-22 Method for implementing dynamic update of Java program Expired - Fee Related CN100489778C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007101707679A CN100489778C (en) 2007-11-22 2007-11-22 Method for implementing dynamic update of Java program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007101707679A CN100489778C (en) 2007-11-22 2007-11-22 Method for implementing dynamic update of Java program

Publications (2)

Publication Number Publication Date
CN101174217A CN101174217A (en) 2008-05-07
CN100489778C true CN100489778C (en) 2009-05-20

Family

ID=39422744

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007101707679A Expired - Fee Related CN100489778C (en) 2007-11-22 2007-11-22 Method for implementing dynamic update of Java program

Country Status (1)

Country Link
CN (1) CN100489778C (en)

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101393528B (en) * 2008-10-30 2011-11-16 上海交通大学 Method and system for determining instance object conversion order in dynamic update of software
CN102141919B (en) * 2010-01-28 2013-03-13 北京邮电大学 Modularized java application software online updating system and method
CN101963914B (en) * 2010-11-12 2013-02-27 南京大学 Byte-code file reconstruction-based Java type online updating method
CN102486736B (en) * 2010-12-06 2015-02-11 深圳市金蝶中间件有限公司 Method for automatically upgrading program and generating device for upgrading program
CN102508667B (en) * 2011-11-11 2014-06-18 迈普通信技术股份有限公司 Method and device for using third-part JavaScript library
CN102495757A (en) * 2011-11-15 2012-06-13 深圳市融创天下科技股份有限公司 Optimization method applicable to JAVA remote invocation object transfer and device
CN103377097B (en) * 2012-04-24 2017-12-05 腾讯科技(深圳)有限公司 A kind of client software that handles occurs to dodge the method and device for problem of moving back
CN102880490B (en) * 2012-09-19 2016-03-02 南京大学 A kind of time delay dynamic object update method based on Java Virtual Machine
CN104199642B (en) * 2014-08-05 2018-05-01 青岛海信移动通信技术股份有限公司 A kind of implementation method and device in target platform operation original platform code
CN104778061B (en) * 2015-04-16 2017-11-10 四川九洲空管科技有限责任公司 A kind of distributed system dynamic parameter dissemination method
CN104881461A (en) * 2015-05-22 2015-09-02 国云科技股份有限公司 Rapid data storage method
CN107508846B (en) * 2016-06-14 2021-02-26 北京京东尚科信息技术有限公司 Updating method and system of application client and terminal equipment
CN107025105B (en) * 2016-09-23 2020-10-16 阿里巴巴集团控股有限公司 Code generation method and device
CN108376064B (en) * 2016-11-24 2021-07-23 阿里巴巴集团控股有限公司 Rule engine system and related method of rule engine
CN108228208A (en) * 2016-12-22 2018-06-29 北京神州泰岳软件股份有限公司 A kind of dynamic updating method and device of JAVA application programs
US10571901B2 (en) * 2017-08-08 2020-02-25 Fisher-Rosemount Systems, Inc. Controlled roll-out of module classes
CN110427198A (en) * 2018-04-27 2019-11-08 中兴通讯股份有限公司 Hot restorative procedure, device and the terminal of application program, storage medium
CN108874418B (en) * 2018-05-23 2022-04-05 北京五八信息技术有限公司 UI component updating method and device, terminal and computer-readable storage medium
CN109976794B (en) * 2019-03-31 2021-02-19 联想(北京)有限公司 Updating method, updating system and electronic equipment
CN110532037A (en) * 2019-08-16 2019-12-03 杭州云徙科技有限公司 A kind of Java operation method, system and terminal
CN113656057A (en) * 2021-08-26 2021-11-16 深圳市天天来玩科技有限公司 JAVA file updating method, network equipment and storage medium
CN115421859B (en) * 2022-09-13 2024-02-13 科东(广州)软件科技有限公司 Dynamic loading method and device for configuration file, computer equipment and storage medium

Also Published As

Publication number Publication date
CN101174217A (en) 2008-05-07

Similar Documents

Publication Publication Date Title
CN100489778C (en) Method for implementing dynamic update of Java program
US10146515B1 (en) Live code updates
CN1989489B (en) Data processing method and apparatus
CN1989488B (en) Robust sharing of runtime systems
Seifzadeh et al. A survey of dynamic software updating
CN101393528B (en) Method and system for determining instance object conversion order in dynamic update of software
CN102279765A (en) Pre-compiling hosted managed code
JP2013514569A (en) Method, computer program product, and system for non-blocking dynamic update of statically typed class-based object-oriented software
CN1989486A (en) Sharing objects in runtime systems
CN105022630A (en) Component management system and component management method
EP2058735A1 (en) System and method of executing a dynamic program in a structured environment
CN102073525A (en) Method and device for dynamically upgrading Web service system based on Java platform
Greenwood et al. Using dynamic aspect-oriented programming to implement an autonomic system
CN107239313A (en) The upgrade method and storage medium of Spring application services
CN108363612A (en) The J2EE modules heat deployment and recalls information statistical method realized based on class loaders
US20120222023A1 (en) Automatic runtime dependency lookup
Previtali et al. Dynamic updating of software systems based on aspects
CN110347448B (en) Method for constructing runtime model of terminal application behavior
Kim et al. Dynamic software updates for parallel high‐performance applications
Stadler et al. Lazy continuations for Java virtual machines
Kajtazovic et al. A component-based dynamic link support for safety-critical embedded systems
CN100428151C (en) C/C++ module hot plug-in and pull-off method of base version in large scale concurrent on-line trade
Miedes et al. Dynamic software update
Bialek et al. Partitioning of Java applications to support dynamic updates
US7703108B2 (en) Native code isolation in a multi-tasking Java virtual machine

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090520

Termination date: 20111122