A method for unifying multi-JavaWeb application common page fragments

A page and public technology, applied in user interface execution, instruments, electrical and digital data processing, etc., can solve the problems of high maintenance cost, poor user experience, and the height of IFrame cannot be adapted, so as to reduce the difficulty of development and operation and maintenance, reduce The effect of managing costs

Inactive Publication Date: 2017-07-28
SHANDONG INSPUR CLOUD SERVICE INFORMATION TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the process of component deployment, we often face the problem of including public page fragments in each component. There are two common methods: one is to load public page fragments into the page by embedding IFrame elements. The advantage of this method is It is easy to use, but the disadvantage is that the height of the IFrame cannot be self-adaptive, and the loading time of the main page is inconsistent, and the page may bounce, resulting in a poor user experience; the second is to dynamically generate page fragments by referencing public JavaScript, and the code complexity of this method Higher, it is easy to cause the page to flicker, and the user experience is not good; the third is to keep a code of the public page fragment in each component. This method is relatively easy to implement in the initial stage of the application, but the later maintenance cost is high. If the public page fragment is modified, multiple copies need to be modified

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] The present invention will be further described below in conjunction with specific examples.

[0016] A method for unifying public page fragments of multiple Java Web applications, storing public page fragments in public applications, using the technology provided by Java Web applications to insert public page fragments into business pages through network requests, to achieve unified management and operation and maintenance the purpose of the public page fragment;

[0017] The interaction process includes browsers, business applications, and public applications. Public page fragments are saved in the public application, and the JavaScript, CSS, Image static resources and page fragments related to the public fragment are regarded as a whole and stored in the public application uniformly to ensure It can manage public page fragments in a unified way; the functions of public page fragments include displaying login user information and displaying the current language select...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a method for unifying multi-JavaWeb application common page fragments and belongs to the field of Java Web application development. The method is characterized in that common page fragments are stored in a common application and the technology provided by a Java Web application is used to insert the common page fragments into a business page via network requests, so that the objective of unified management, operation and maintenance of common page fragments is achieved. An interaction process involves a browser, a business application and a common application, wherein the public application stores the common page fragments; Java Script, CSS and Image static resources relates to the common fragments and the page fragments are regarded as a whole and are stored in the common application in a unified manner, so that the common page fragments can be managed in a unified manner. The method fully utilizes the existing technology of Java Web applications on the basis of guaranteeing user experience and causing no additional development workload and solves the problems in management, operation and maintenance of common page fragments.

Description

technical field [0001] The invention relates to the field of Java Web application development, in particular to a method for unifying public page fragments of multiple Java Web applications. Background technique [0002] As the complexity of information systems becomes higher and higher, the component deployment of information systems has become the general trend. However, in the process of component deployment, we often face the problem of including public page fragments in each component. There are two common methods: one is to load public page fragments into the page by embedding IFrame elements. The advantage of this method is It is easy to use, but the disadvantage is that the height of the IFrame cannot be self-adaptive, and the loading time of the main page is inconsistent, and the page may bounce, resulting in a poor user experience; the second is to dynamically generate page fragments by referencing public JavaScript, and the code complexity of this method Higher, ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44
CPCG06F8/38G06F9/451
Inventor 王振峰
Owner SHANDONG INSPUR CLOUD SERVICE INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products