The invention discloses a judicial
system modular hot loading method based on a
Java custom class
loader, which belongs to the technical field of computers, and comprises the following steps: designing a custom class
loader, developing a custom class
loader which can identify classes in a specific
namespace and load the classes from a specified position; according to the
modular design, the judicial
information system is divided into a plurality of independent modules, and each module is responsible for a part of
business logic; version control: distributing a version number for each module to facilitate the
upgrade and
rollback of the management module; a hot updating mechanism is adopted, when a new version module is deployed, the user-defined class loader can detect version changes and unload classes of an old version, the
Java user-defined class loader mechanism is utilized, hot loading of the judicial
system module is achieved, and therefore the purpose of dynamic updating is achieved, by constructing a hierarchical class loader
system, the dynamic updating efficiency of the judicial system module is improved, and the dynamic updating efficiency of the judicial system module is improved. A new module version can be identified and loaded, an old version can be unloaded, and stable operation of the system is ensured.