Font Size: a A A

Research And Application Of J2EE Lightweight Framework Extending Technology

Posted on:2008-01-05Degree:MasterType:Thesis
Country:ChinaCandidate:T ZhangFull Text:PDF
GTID:2178360215958433Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Nowadays, J2EE service architecture has become a mainstream architecture in current software development. However, in practical applications, the heavyweight component of J2EE architecture has brought great difficulties to system's development and test, resulting in failure of many projects. In recent years, lightweight framework which combined with various design patterns has injected new vitality into the design of software system.This thesis takes J2EE Framework as studying prospective and has deeply studied the technology of J2EE and lightweight framework, IoC (Inversion of Control) and Ajax (Asynchronous JavaScript and XML) technology. In accordance with development of present software design and requirement of practical application, this thesis has found out the defects of lightweight framework and made relevant expansion.Firstly, this thesis has made a brief introduction to IoC, Ajax technology, FrameServer framework and other relevant tecnologies.Have analyzed the system function and architecture design, the thesis emphasizes two points: how to manage stateful POJO (Plain Old Java Object) based on IoC Container and how to support Ajax according to JSON(JavaScript Object Notation). In the first part, a management model of stateful POJO based on IoC pattern was proposed, by which the dependencies and the lifecycle of stateful POJO is managed as a common component, and the constraint of referential integrity between stateful POJO and stateless POJO is also proved. In the second part, an algorithm of object serialization based on JSON is proposed, by which the JSON grammar is analyzed and the object navigation graph is also established. With this algorithm, the java objects can be translated into JSON expressions transparently, so as to the Client-side can take full advantage of JavaScript engine to parse JSON expressions, thus the problems resulted from XML can be solved effectively.Finally, the application of FrameServer framework is introduced with actical project "Sphinx Interaction Chemical CAI system from Sichuan Normal University". It not only demonstrates advantage of lightweight framework and Ajax technology, but also proved precision and feasibility of expanding plan.
Keywords/Search Tags:Lightweight Framework, Inversion of Control, Stateful POJO, Serialization, Object Navigation Graph
PDF Full Text Request
Related items