Memory optimization system and method based on jsf development framework

A development framework and optimization method technology, applied in the field of WEB development, can solve the problems of server memory pressure, affect response speed, occupy a large amount of memory, etc., achieve the effect of improving response speed, reducing memory demand, and improving memory management performance

Inactive Publication Date: 2011-11-30
SHENZHEN CLOU ELECTRONICS
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the development of large-scale application systems, the WEB server side of the JSF framework needs to manage a large number of management class objects as the scope of the entire conversation, so that as the conversation increases, a large number of class instances will be generated, and a large number of requests will be made during the entire conversation. A class object instance with a scope of the entire conversation will occupy a large amount of memory, which will put a lot of pressure on the server's memory and affect the response speed of the entire WEB

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Memory optimization system and method based on jsf development framework
  • Memory optimization system and method based on jsf development framework
  • Memory optimization system and method based on jsf development framework

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The present invention will be described in detail below in conjunction with the accompanying drawings and embodiments.

[0022] refer to figure 1 , figure 1 is the frame structure diagram of the memory optimization system based on the JSF development framework of the present invention. In this embodiment, as shown in the figure, subclass 1, subclass 2, subclass 3, etc. are all management objects whose scope is the entire dialogue, and they all inherit from the same parent class AbstractParent, so that the management in the system Class objects all share a common parent class and can execute the same constructor of the parent class. In the parent class, there is a data field of the beanNames string array type, which contains the names of the management class objects managed by the JSF framework. The constructor of the parent class includes a clear management class object module that removes instances of other management class objects in the entire dialog except the na...

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 relates to a memory optimization system and method based on a JSF development framework. All manageable class objects in the system whose scope is the entire dialogue range inherit from the same parent class; the parent class includes a module for clearing management class objects, wherein the plurality of management class objects pass through the clearing The management class object module is connected with the parent class. The method includes: first step, all the manageable class objects with the scope of the entire dialogue are inherited from the same parent class; second step, in the initial loading of the management class objects with the scope of the entire dialogue, calling the structure of the parent class Function to remove other management class objects from the entire dialog. The present invention enables each dialog to retain only one instance of the management class object currently being called in a dialog process, which greatly reduces the memory requirement of the server; ensures that only one instance of the currently requesting class object is reserved in each dialog request ; Improve the response speed of WEB programs and the management performance in the server.

Description

【Technical field】 [0001] The invention relates to the field of WEB development by using a JSF (JavaServerFaces) framework, in particular to a memory optimization system and method based on the JSF development framework. 【Background technique】 [0002] With the release of J2EE1.5, JSF (JavaServerFaces) has become a standard framework for JAVA WEB development. JSF provides a component-centric user interface (UI) construction method, thus simplifying the development of JAVA server-side applications. . JSF introduces a component-based and event-driven development model, enabling developers to develop Web applications in a manner similar to the traditional interface. Provides a clean separation of behavior and expression. No special scripting language or markup language is used to connect UI components and Web layer. The technology provides a rich architecture for managing component state, processing component data, validating user input and manipulating events. However, in t...

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 Patents(China)
IPC IPC(8): G06F9/44G06F9/45
Inventor 张利
Owner SHENZHEN CLOU ELECTRONICS
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