Font Size: a A A

Research On Pushing Case Of Accurate Information Based On Intercept Technology Of AOP

Posted on:2017-07-19Degree:MasterType:Thesis
Country:ChinaCandidate:Y TangFull Text:PDF
GTID:2348330518470790Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
Web technology is increasingly mature, Web based application software is applied to various fields, especially the emergence of Ajax technology, making Web applications become more efficient, more convenient and more interactive. In most of the Web application based on B/S mode, the technology of active push from the server to the client is widely used. But the existing push technology, coupled with high degree, and in the process of the implementation of the impact of system stability, based on the above issues, the issue of precision information push service program came into being.The scheme is based on the SSH2 framework, which analyzes and studies the problems existing in the current push technology, and designs a set of accurate information push scheme which can be implemented, coupled with low coupling and high performance. In this scheme, first of all, using spring AOP technology, using section oriented thought, the server push service definition into section, all users update operation is defined as the breakthrough point and all pointcut declarations a return after notice, made under section and the entry point for the realization of spatial independent of and spring AOP to each entry point execution to intercept and breakthrough success after the implementation of, directly to the section into the fabric, thereby reducing push service user and update operations on the coupling degree,improve the readability of the code, easy to push service maintenance; Secondly, using the DWR framework, the use of reverse Ajax technology, accurate record needs to push the user information, and through the remote call callback function will push the information back to the already recorded push user interface, realize accurate information push; finally, using the thread pool technology to push the number of tasks and the current system operation state,dynamic batch create or destroy to loop push the thread, the thread pool also provides,caching" mechanism and "abandon" strategy, "caching" mechanism that didn't get the job tasks to threads waiting in line, "abandon" strategy by reducing the submitted tasks, is not assigned to push the opportunity to re submit the task to provide the system resources, so as to improve the stability performance and push service guarantee system.In the implementation process of the scheme, according to the specific requirements of the project, choose suitable reverse Ajax techniques, formulate reasonable thread pool management strategy, so that the scheme can be applied to different execution environments of the system, and the performance and efficiency to achieve the best state.
Keywords/Search Tags:SSH2, AOP, DWR, Thread pool
PDF Full Text Request
Related items