Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and interceptor system facing to tangent plane programming

A facet-oriented and interceptor-oriented technology, applied in the field of computer system development, can solve problems such as few functions, inability to implement method interception, poor practicability, etc., and achieve the effects of good practicability, easy maintenance, and clear decomposition

Inactive Publication Date: 2008-10-01
BEIJING UNIV OF POSTS & TELECOMM
View PDF0 Cites 41 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] However, SAIF implements very few functions. Generally, it can only implement the interception of the most basic classes on the Struts system framework, that is, it can only intercept one class (such as Action class) or multiple classes, and cannot implement the interception of each class. The implementation method is intercepted (that is, method-level interceptor), and its practicability is relatively poor

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
  • Method and interceptor system facing to tangent plane programming
  • Method and interceptor system facing to tangent plane programming
  • Method and interceptor system facing to tangent plane programming

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] In order to make the purpose, technical solution and advantages of the present invention clearer, the interceptor system and method for aspect-oriented programming of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0052] The interceptor system and method oriented to aspect programming of the present invention is a method-level interceptor implemented under the framework of the Struts application development system. When the client accesses the website system, when the Servlet container on the server side calls the relevant Struts Action class or DispatchAction class according to the path, the interceptor system and method of the present invention are used to realize the method-level interception working in Struts 1.x, That is, the method-l...

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 present invention provides an interceptor system of an aspect oriented programming and its method, including mounting an interceptor interface operated under Struts frame, realizing the interceptor class based on the interface; configuring a configuration file structure of the interceptor, and configuring the interceptor in the interceptor configuration file to the corresponding execution path; reading the configuration file when Struts starts initialization, analyzing the interceptor configured in the configuration file, and processing initialization; when the client accesses the network, the server terminal acquires the interceptor when calling Struts Action class or DispatchAction class accordind to the path, executing the corresponding interceptor method, realizing the interception of the aspect Oriented programming under Struts frame. The interception of the class and the interception of the realizing method of each class have excellent practicality.

Description

technical field [0001] The invention relates to the field of computer system development, in particular to the field of computer J2EE enterprise-level application system development, in particular to an interceptor system and method for aspect-oriented programming (AOP) under Struts. Background technique [0002] J2EE, Java2 Platform Enterprise Edition (Java 2 Platform Enterprise Edition), is a standard software system development platform launched by Sun for enterprise-level applications. With the development of Java technology, the J2EE platform has developed rapidly and has become one of the most active systems in the Java language. Nowadays, J2EE not only refers to a standard platform (Platform), but also expresses a software system architecture and software system programming method. [0003] J2EE enterprise-level Web application development system frameworks include Struts, Webwork, JSF, Tapestry and other development frameworks. [0004] Among them, the Struts syste...

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
IPC IPC(8): G06F9/44
Inventor 李江涛文福安廖德生
Owner BEIJING UNIV OF POSTS & TELECOMM
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products