Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

86 results about "JAR" patented technology

A JAR (Java ARchive) is a package file format typically used to aggregate many Java class files and associated metadata and resources (text, images, etc.) into one file for distribution. It is used to store classes of java created by the user in order to help the runnable and inference concepts embedded within the language.

Code data access relation extraction method and system for data security check

The invention provides a data security check-oriented code data access relation extraction method and system, and the method comprises the following steps: S1, processing a to-be-analyzed code file in a. Jar format, and outputting a coarse-grained data access relation graph; s2, constructing and outputting a corresponding list of method nodes and code directories based on the code file and the coarse-grained data access relation graph; and S3, based on the code file and the coarse-grained data access relation graph, constructing an access relation list between role nodes and database fields. By utilizing the characteristics of Java language and the natural language understanding ability of a large language model, the problem of automatic extraction of the database field access relation by role nodes in website source codes is solved, the input java website source codes can be analyzed, a complete calling link from a user to the database field is extracted, and the user experience is improved. And the specific return condition and verification condition of the data field can be judged, so that an accurate data access extraction effect is achieved.
Owner:SHANGHAI JIAOTONG UNIV

Low-code software development system

The invention provides a low-code software development system, which is responsible for acquiring a creation demand of a user about a Java project through a project management module, and comprises a source code mode and a Jar package mode. The code generation module generates codes and external dependency information according to requirements by using a large language model in a source code mode. And the Jar packet management module manages and calls the shared Jar packet, the project Jar packet and the extended Jar packet according to requirements in the Jar packet mode. The deployment management module completes project deployment through an independent class loader based on an amphiphilic delegation mechanism, and the method calling module dynamically calls a loaded Jar packet based on a Java reflection mechanism. According to the system, through automatic code generation and a flexible deployment mechanism, the development efficiency is remarkably improved, the development cost is reduced, meanwhile, the expandability and stability of the system are guaranteed, and the system is suitable for rapidly constructing and deploying Java projects.
Owner:BEIJING MT HIRISUN TECH +1

Compatible method and device of multi-version database driver, medium and equipment

The invention provides a multi-version database drive program compatible method and device, a storage medium and equipment, and the method comprises the steps: creating an independent Maven project, each branch comprises JDBC drive programs of different versions and related configuration files, carrying out class name renaming on the JDBC drive program of each version by using a maven-shade-plug-in of the Maven project, carrying out class name renaming on the JDBC drive program of each version, and carrying out class name renaming on the JDBC drive program of each version by using the maven-shade-plug-in of the Maven project; the class name of the JDBC drive program of each version is unique, a new drive program class name is configured in an META-INF / service / java.sql.Driver file of a Maven project, a Maven project construction tool is used for generating a JAR package for a specific database version, and the JAR package at least comprises the JDBC drive program with the renamed class name and the updated META-INF / service / java.sql.Driver file. According to the method, the problem of class name conflict caused by the same class name in the JDBC driving programs of different versions is effectively avoided, so that the system can flexibly identify and load the driving programs of the corresponding versions, seamless connection of various databases is supported, and the database compatibility of the system is enhanced.
Owner:BEIJING HAIZHI TECH GRP CO LTD

Methods for running R language and deploying machine learning algorithms in AnyLogic software environment

This invention belongs to the field of simulation software secondary development and specifically provides a method for running R language and deploying machine learning algorithms in the AnyLogic software environment. The method includes: creating a Jar package that carries the method; constructing a project main package, including two first-level subpackages, where the first first-level subpackage is composed of two second-level subpackages; porting the constructed project code data into the AnyLogic software environment, and using AnyLogic software to package the active objects contained in the project into a plug-in library that complies with AnyLogic software communication specifications; inserting the plug-in library into the AnyLogic IDE for testing and use; bridging the AnyLogic environment with mainstream R language machine learning packages through the plug-in library, and calling the return values ​​of the R language machine learning in real time during simulation experiments. This method overcomes the complexity and technical challenges of effectively integrating and using R language machine learning methods in AnyLogic, improving the predictive capabilities and overall simulation performance of the simulation model.
Owner:CHINA THREE GORGES UNIV

Method, system and equipment for synchronizing data to southern big general database based on Flink and storage medium

The invention discloses a method, a system and equipment for synchronizing data to a southern big general database based on Flink, and a storage medium, belongs to the technical field of synchronizing data to databases, and solves the technical problem that the Flink does not support writing data into the southern big general domestic database at present. The method comprises the following steps of: creating a new project, and adding a JDBC (JavaSouth Big Universal Database) driving dependency package, jar required by Flink and an flink-connector-mysql-cdc package; the method comprises the following steps of: acquiring a source code of an flink-connector-jdbc project which needs to be modified; the flink-connector-jdbc.jar is subjected to the transformation of adapting to the South big general database, and the flink-connector-jdbc.jar is subjected to the transformation of the South big general database; the method comprises the following steps: additionally adding an flink-connector-jdbc-gbase. Jar dependency package which is modified by being adapted to a south big general database into a project; compiling in a project by using flinksql grammar, and synchronizing the read user table in Mysql to user table definition information of a southern big general database in real time; packaging the project into jar and running the jar into an flink environment; therefore, the data can be efficiently written into the South big general database in batches in a FlinkStream and SQL mode.
Owner:CHINA ASEAN INFORMATION PORT CO LTD

Version adaptation method and device, electronic equipment and storage medium

The invention discloses a version adaptation method and device, electronic equipment and a storage medium, and relates to the technical field of computers.The method comprises the steps that a starting class of a current application program is loaded through a preset first class loader, and if it is determined that the type of the current application program is a web application program in the starting class, the current application program is started; obtaining a to-be-adapted jar dependency file in a dependency library directory of the current application program; unpacking the to-be-adapted jar dependent file, and selecting a target byte code file related to class loading; in the search class method of the first class loader, determining a calling position for calling the target bytecode file, and inserting a preset version adaptation method behind the calling position; according to a version adaptation method, performing adaptation processing on the target bytecode file to obtain an adapted bytecode file; and replacing the target byte code file by using the adapted byte code file. By adopting the method and the device, when the adapted byte code file is loaded, the currently running JDK version can be effectively compatible.
Owner:HANGZHOU NEWGRAND TECHNOLOGY CO LTD

Task execution method and system based on dynamic class loading

The invention provides a task execution method and system based on dynamic class loading, and belongs to the technical field of computers.The task execution method comprises the steps that a basic platform class loader is created, and a connector index is constructed in the basic platform class loader; respectively creating a task class loader group, a strategy class loader group and a connector class loader group, wherein each group enables each loaded JAR packet to generate an independently isolated class loader; after the task and strategy class loader receives the class loading request, the class loading request is transmitted to the basic platform class loader according to the delegation of the parent delegation mechanism; according to a class loading request, a connector class loader corresponding to a class requested to be loaded is positioned through a connector index, and after a class object is created according to the class requested to be loaded, the class object is returned to a strategy class loader and a task class loader according to a delegation path. According to the method, the running resources of the Java virtual machine are deployed in advance, and the class loader is used for pre-allocating the resources, so that the starting time during task execution is shortened.
Owner:YUSYS TECH CO LTD

Java JAR packet encryption protection method and device, equipment and medium

The invention discloses a Java JAR packet encryption protection method and device, equipment and a medium, and the Java JAR packet encryption protection method comprises the steps: splitting a JAR packet decryption key into two fragments, and statically storing the two fragments in a starter program and a dynamic link library in a nonlinear confusion structure, thereby avoiding the exposure of a key plaintext. During starting, the starter transmits the first secret key fragment to the dynamic link library through secure inter-process communication, and the first secret key fragment is combined with the second fragment in the memory to restore a complete secret key. And during class loading, the Java agent intercepts a request and transmits an encrypted class byte code to the dynamic link library through the JNI, the encrypted class byte code is decrypted by using the restored key, and a plaintext is returned for loading. According to the method, static decompilation and dynamic memory dump attacks are prevented, and the anti-reverse and anti-leakage capabilities of Java software in a privatized deployment environment are remarkably improved.
Owner:SHENZHEN JIMI SOFTWARE CO LTD

Dynamic SQL (Structured Query Language) detection method and system, program product and storage medium and device thereof

The invention relates to a dynamic SQL (Structured Query Language) detection method and system, a program product and a storage medium and device thereof. The method comprises the following steps: deploying a Jar packet for SQL detection to a target server; configuring a javaagent parameter in a starting parameter of a to-be-detected application service of the target server, wherein the javaagent parameter specifies a path of the Jar packet on the target server; when the to-be-detected application service is started, the Java virtual machine loads the Jar packet according to the Java proxy parameters, and byte code enhancement is carried out on an SQL executor so as to insert detection logic in the SQL execution stage; and when the to-be-detected application service processes a request, executing SQL detection through the detection logic inserted by the byte code enhanced code.
Owner:HEBEI HAPPY CONSUMPTION FINANCE CO LTD

Micro-application hot deployment method and system supporting Spring annotation

The invention discloses a micro-application hot deployment method and system supporting Spring annotation, and the method comprises the steps: receiving a micro-application JAR package uploaded through a Web management platform, and enabling the micro-application JAR package to be defined based on Spring annotation; the method comprises the following steps: creating an independent class loader and an independent Spring sub-container; and loading the micro-application JAR packet through the class loader, and carrying out component scanning, registration and dependency injection through the Spring sub-container to obtain a deployed micro-application. The method supports JAR packet uploading through a Web end to realize Spring annotation-based development, automatic registration, hot update and interface isolation, can improve the construction efficiency and data service response speed of a service system, and can be widely applied to the technical field of computer software.
Owner:CHINA ENERGY ENG GRP GUANGDONG ELECTRIC POWER DESIGN INST CO LTD

Method and system for automatically collecting dependency during operation based on Java proxy

The invention relates to the field of computer software engineering, and provides a Java agency-based runtime dependency automatic acquisition method and system, and the method comprises the steps: injecting an Agent into a JVM in a non-intrusive manner through a javaagent parameter when a Java application is started; registering a class file converter in the Agent to monitor a class loading process; collecting system operation environment information; when a class loading event is monitored, the type of a class loader is identified, and specific modes are adopted for the three main types respectively to extract the real paths of the loaded JAR files; filtering and de-weighting the extracted paths; and finally, integrating the dependence information and the system information and asynchronously outputting the dependence information and the system information as structured data. The problems that static analysis cannot reflect dependency during operation, and an existing APM tool is coarse in collection granularity and does not support asset list generation are solved.
Owner:SSE INFORMATION NETWORK LTD

Multi-file data processing method and device, electronic equipment and storage medium

The invention discloses a multi-file data processing method and device, electronic equipment and a storage medium. The method comprises the steps of performing data extraction on a to-be-processed file, and determining to-be-processed data corresponding to the to-be-processed file and a data type identifier; calling a pre-configured jar package, and importing the to-be-processed data and the data type identifier into a target data table in the SQLite middleware; calling a jar package, executing an SQL statement in the target shell script, and performing data processing on the target data in the plurality of target data tables to obtain a processing result; the target shell script is obtained by configuring the universal shell script according to the file processing requirement of the user. According to the method, the shell script is executed to process the data in the multiple files by calling the jar package driven by the SQLite middleware, so that the data processing efficiency is improved.
Owner:BEIJING BOCO COMM TECH

CRON-based routing machines and processes to schedule and execute java code excerpts across fault-tolerant load-balanced distributed servers running JVM namespaces

A routing process schedules and executes Java code excerpts across backend servers. A route table contains routes to be executed in JVM namespaces on servers and identifies for each route a Jar file containing applicable classes and methods to be executed at a CRON time. During execution, methods are retrieved from each applicable class and are executed to extract data from backend devices. The servers transform the extracted data into frontend data and load it onto frontend storage devices. Only the classes and methods in the Jar file for a route need be executed. Complete Java programs need not be run.
Owner:BANK OF AMERICA CORP

Code data access relationship extraction method and system for data security check

The application provides a code data access relationship extraction method and system for data security verification, comprising the following steps: step S1, processing a.jar format code file to be analyzed, and outputting a coarse-grained data access relationship graph; step S2, based on the code file and the coarse-grained data access relationship graph, constructing and outputting a corresponding list of method nodes and code directories; step S3, based on the code file and the coarse-grained data access relationship graph, constructing an access relationship list between role nodes and database fields. The application uses the characteristics of the Java language and the natural language understanding ability of the large language model to solve the problem of automatic extraction of the access relationship between the role nodes and the database fields in the website source code, can analyze the input java website source code, extract the complete call link from the user to the database field, and can judge the specific return condition and the verification condition of the data field, so that the accurate data access extraction effect is achieved.
Owner:SHANGHAI JIAOTONG UNIV

Method, system and product for dynamically detecting service hotspot based on Java Agent

The invention relates to a method, system and product for dynamically detecting a service hotspot based on a Java Agent, and the method comprises the following steps: configuring a Java proxy parameter in a JVM starting parameter of a target application service, the Java proxy parameter pointing to a path of a proxy JAR packet; starting the target application service, loading and initializing a Java Agent in the proxy JAR packet by a JVM (Java Virtual Machine) according to the Java proxy parameter, and performing byte code enhancement on a predetermined target method in the target application service through the Java Agent so as to implant a monitoring logic; collecting execution information of the method in real time when the enhanced target method is executed through the implanted monitoring logic; analyzing the execution information in real time according to at least one preset dynamic rule; and when the real-time analysis result meets the dynamic rule, judging that the target method is a hotspot method.
Owner:HEBEI HAPPY CONSUMPTION FINANCE CO LTD

Method for automatically generating Binder communication SDK (Software Development Kit) of Android system

The invention relates to the technical field of computer software, in particular to a method for automatically generating an Android system Binder communication SDK (Software Development Kit), which comprises the following steps: defining an AIDL interface source file and compiling to generate a JAR packet; defining an interface configuration JSON file; executing a pre-generation program, and creating an annotation mark Java file; integrating the annotation processor and compiling to generate a final SDK file, wherein the generation process of the final SDK file comprises the following steps: registering and triggering the annotation processor, analyzing the annotation, analyzing an AIDL interface method, constructing a code model and generating the SDK file; and using the generated SDK file. The technical problems that in existing Android application development, due to the fact that Binder communication bottom layer template codes are manually written, the development efficiency is low, the codes are redundant and prone to errors, and unified maintenance is difficult are solved, and normalization and consistency of communication codes among multiple services are fundamentally guaranteed.
Owner:CHINA FAW CO LTD +1

A method for reducing jar package volume and fast deployment

The present application belongs to the technical field of installation package deployment, and specifically discloses a method for reducing Jar package volume and rapid deployment, which improves the accuracy and safety during recovery under the premise of effectively reducing the Jar package volume. In order to achieve the purpose, the present application comprises a slimming Jar construction packaging stage, a global public dependent package hierarchical construction and storage stage, and a business package dynamic recovery stage; the generated business Jar package is subjected to minimization processing, and then the global public dependent package hierarchical construction is performed, only the business logic code and necessary dependent metadata are retained; the original Jar is traversed, only the non-stripped dependent is written, the full dependent sequence list and the actual non-written dependent list are recorded and stored synchronously; dynamic recovery is performed as needed. According to the technical scheme, the business package volume is reduced by 60%-80%, the file download time consumption during cluster deployment is reduced by more than 90%, and it is ensured that the recovered Jar package is 100% consistent with the original package in structure and dependent sequence, so that service startup failure is avoided.
Owner:ZHEJIANG FINGARD TECH CO LTD

Service management method, device and terminal equipment based on public jar package

This invention discloses a service management method, apparatus, and terminal device based on a common JAR package. The method involves acquiring a common JAR package to be imported into a service system, importing the JAR package into the service system, generating a corresponding backend management system based on the common JAR package, obtaining application information input through the backend management system, and invoking the service system's interfaces based on the application information. This approach not only reduces code redundancy and improves security, but also allows service providers to better understand interface call behavior. Furthermore, it provides developers with more convenient debugging tools, reduces repetitive maintenance costs for programmers, and thus improves work efficiency.
Owner:PING AN BANK CO LTD

Protection method, device, equipment and storage medium

The present invention discloses a protection method, apparatus, device, and storage medium. The method comprises: performing binary conversion on copyright information to obtain target data; determining at least one target bytecode file in a jar package based on the target data; and updating the stack value of a method in the at least one target bytecode file based on the target data. The technical solution of the present invention enhances the anti-steganographic attack capability by writing copyright information into the bytecode file, thereby achieving the purpose of protecting copyright. By using steganography to write copyright information into the bytecode file, when other companies use the file, or even modify the file, they can still easily prove the copyright ownership of the code file through the written copyright information.
Owner:SHANGHAI PUDONG DEVELOPMENT BANK

Method, apparatus, device, and storage medium for detecting jar package conflicts

The present invention discloses a method, device, equipment and storage medium for detecting jar package conflicts. The present invention parses the jar package to be detected to obtain the classes of the jar package to be detected and the attribute information corresponding to each class. If there are target classes with the same attribute information among the classes of the jar package to be detected, the external dependent jar package names corresponding to each target class are determined, and the conflict detection result of the jar package to be detected is determined according to the external dependent jar package names corresponding to each target class. Compared with the detection method obtained according to the setting information of maven coordinates, the technical solution of the present invention performs dependency conflict detection based on the attribute information of the classes included in the Java jar package, can more accurately detect whether there are dependency conflicts in the jar package, thereby improving the accuracy of the conflict dependency detection result, effectively reducing the situation where defects are exposed only after the project or product is launched, and improving the quality of the product.
Owner:PING AN BANK CO LTD

Java project installation package deployment method, device, terminal equipment and readable medium

The present invention discloses a Java project installation package deployment method, device, terminal device and readable medium, the method comprising: obtaining an external dependency Jar package, an external dependency Jar package list and a service image of a main module from a compressed package uploaded in a service packaging phase; using the external dependency Jar package to build a Jar package pool; packaging the external dependency Jar package list, the service image and the Jar package pool together to generate a Rom package; and performing a Java project installation package deployment operation according to the Rom package. The Java project installation package deployment method provided by the present invention can effectively reduce the size of the installation package occupied by the Java project by deduplicating repeated external dependency Jar packages in the packaging phase of the installation package, and restore the external dependency Jar package of the Java project by restoring the Java project in the deployment phase. The present invention effectively reduces the size of the installation package before the Java project is started, thereby greatly improving the efficiency of loading the Java project.
Owner:YEALINK (XIAMEN) NETWORK TECHNOLOGY CO LTD

Supply chain low-code platform service management method, equipment and medium

The invention discloses a supply chain low-code platform service management method and device and a medium, and the method comprises the steps: receiving and analyzing Java method semantic information in a Jar package file to generate a standardized service number, or analyzing a protocol type and a parameter format of external API address information, and extracting service attribute data to generate service operation recommendation data; generating service registration information after confirmation of the developer, and storing the service registration information in a database to construct a service portrait; in response to the service calling request, executing data format conversion and protocol adaptation operation of calling parameters based on a machine learning model; acquiring a service calling log, identifying an abnormal calling event based on a preset abnormal detection model, and pushing abnormal early warning information to a developer; and constructing a user portrait based on developer information, matching and recommending an adaptive service set for the developer based on the user portrait and the service portrait, and allowing the developer to position a target service through semantic search.
Owner:SHANDONG INSPUR DIGITAL SUPPLY CHAIN TECH CO LTD

A method and system for merging Android SDKs that distinguish between uppercase and lowercase classes

PendingCN122387497APathPingFile system
The application discloses a kind of for case distinction Android SDK merging method and system, and the method specifically includes: in response to construction instruction, the AAR / JAR file to be merged is decompressed to temporary working directory;Based on path conflict discrimination model, scan the class file path in temporary working directory, identify out potential conflict path set;For each logical path in potential conflict path set, generate mapping identifier, and according to mapping identifier, the class file corresponding to original logical path is added to the compiled code path list of Gradle construction system;According to path mapping relationship table, the class file in compiled code path list is packaged into JAR file, and is packaged into AAR file, generates target AAR file.The application effectively solves the class file path conflict problem caused by case distinction Android SDK merging in that file system does not distinguish case, and guarantees the normal operation of project.
Owner:ANHUI SANQI JIYU NETWORK TECH CO LTD

Test case derivation method based on JMeter

The invention discloses a JMeter-based test case derivation method, which comprises the following steps of: inheriting an AbstraactJavaSampler Gui abstract class in a JMeter framework through a Sampler sampler according to an obtained test case data object, reserving a default name of the data object, and resetting a static display name of the data object; the method comprises the following steps of: inheriting an AbstraactJavaSampler Client abstract class in a JMeter framework, and initializing and modifying a method of the AbstraactJavaSampler Client abstract class so as to adjust processing logic of data; and compiling the derived test case into a JAR package, and deploying the JAR package to a specified directory to realize plug-in loading. According to the method, by inheriting the abstract class of the JMeter framework and realizing plug-in loading, the problems that in the prior art, the reusability of a test case is poor, complex logic depends on codes, and the plug-in development threshold is high are solved, the test efficiency is improved, the development cost is reduced, and the flexibility and stability are enhanced.
Owner:INSPUR GENERSOFT CO LTD

Dynamically Adaptable User Interface

A computer-implemented method is provided for dynamically altering a user interface (UI) display by a computer-implemented method for altering a computer monitor display without recompilation of code. The method includes developing the UI display in FXML syntax that creates an FXML file. Data for display are mapped to particular fields in the UI display, within the FXML file. A JAVA Archive (JAR) file with the FXML file is deployed to a client device. The JAR file is executed with the FXML file to produce the UI display on the client device. The displays on the UI display are populated as defined by the FXML file.
Owner:USA AS REPRESENTED BY THE SECRETARY OF THE NAVY

Automatic Java Spring SQL / SSRF vulnerability mining method based on parameter flow simulation

ActiveCN120217378APlatform integrity maintainanceAutomated miningSQL injection
The invention relates to the field of computer security, and provides a Java Spring SQL / SSRF vulnerability automatic mining method based on parameter flow simulation, comprising the following steps: S1, analyzing a class file compiled by a source project in a JAR packet to be mined, traversing the class file in the Jar packet, and extracting an input parameter of a Mapping method subordinate to a controller as a start point of taint analysis as a source of taint propagation; and vulnerability link detection is carried out based on a method set S-1, an SQL injection vulnerability taint function set S-2 and an SSRF taint function set S-3 which are propagated by a method parameter in a single step. The method aims at solving the problem that an existing static analysis tool is insufficient in accuracy and coverage rate in recognizing SQL / SSRF vulnerabilities in a Java Spring framework, and has the advantages of being efficient, accurate, high in coverage degree and the like.
Owner:HANGZHOU DIANZI UNIV

Application system security protection method and system based on execution virtual machine

The invention discloses an application system security protection method and system based on an execution virtual machine, and the method comprises the steps: reading a CLASS file and related metadata in a JAR package, and converting the code of the CLASS file into a pseudo code of an EVM line by line; encrypting the generated pseudo code by adopting a symmetric encryption algorithm, packaging the encrypted pseudo code and related metadata, and generating a program package protected by EVM (Error Vector Magnitude); dependency on EVM is added into the converted pseudo-code, and meanwhile, the pseudo-code is integrated with an EVM runtime environment; the JRE can load a runtime library of the EVM and start the EVM, and the EVM initializes an internal data structure; when the code is executed to be required to call a function, access a variable or a constant, searching a corresponding element from the HashMap of the initialized internal data structure by the EVM; judging whether the EVM searches a corresponding element in the HashMap or not; cache acquisition is carried out, and the data is directly delivered to a just-in-time compiler for final local code generation; and performing pre-compilation release on the EVM, and returning to the step S6 again.
Owner:DIGITAL TECHNOLOGY BRANCH OF CHONGQING URBAN TRANSPORTATION DEVELOPMENT INVESTMENT (GROUP) CO LTD

Method and apparatus for proving a shared database connection in a batch environment

An apparatus provides an operating system service that receives, from an application in a batch environment, a plurality of database transactionality calls associated with a first program of the application, the first program having a first addressability mode. In response to at least one of the plurality of database transactionality calls, the operating system service provides a shared database connection to a database for the first program of the application and for a second program of the application that has a different and second addressability mode. In some implementations, the operating system service provides the shared database connection using one or more of a plurality of callable database transactionality classes, such as a plurality of callable Java classes in a Java archive (JAR) file.
Owner:INTERNATIONAL BUSINESS MACHINE CORPORATION

Method and device for solving same-name packet loading conflict and storage medium

The invention discloses a method and device for solving loading conflicts of homonymous packets, equipment and a storage medium. The method comprises the following steps: creatively obtaining a target jar packet or a target class name which needs to have version conflicts with three parties; dynamically loading the target jar package or the target class name by adopting running state configuration, and loading the target jar package or the target class name into a parent class loader; and loading the homonymous class defined in the parent class loader from the parent class loader through a parent delegation mechanism to realize that the homonymous class only has one copy in the JVM. The version is loaded by a parent class loader, and the version is based on the version introduced in the platform; and other non-homonymous classes are loaded and isolated by using a user-defined class loader. At the moment, after pluggable is achieved through SPI expansion, three-party sdk is integrated, and the running state is not abnormal or the abnormal frequency is reduced.
Owner:CHINA CITIC BANK CO LTD

Method for optimizing first access speed of JSP page in Spring Boot

The invention discloses a method for optimizing the first access speed of a JSP (Java Service Provider) page in Spring Boot, which is characterized by comprising the following steps of: generating a user-defined compiler by extending a JspC (Java Service Provider) class of Apache Tomcat in a project construction stage, and configuring optimal parameters to complete complete pre-compilation from the JSP to a Java Servlet byte code file; generating a description file for recording a mapping relationship between the JSP request path and the Servlet class name; in the packaging stage, the Java source code file is removed, and a pre-compilation result is integrated into a JAR package of Spring Boot; and dynamically registering the Servlet and mapping the Servlet to the embedded Tomcat container. The method does not depend on an external Servlet container, completely follows a Spring Boot native architecture, thoroughly eliminates the compilation overhead during first access, and ensures the pre-compilation result and the compilation during operation; and meanwhile, JSP grammar error detection can be advanced to a development stage, so that the abnormal risk during operation of a production environment is effectively reduced.
Owner:FOCUS TECH