Font Size: a A A

Based On The J2ee Platform Web Application Framework Design And Application

Posted on:2003-05-25Degree:MasterType:Thesis
Country:ChinaCandidate:Z Y LiuFull Text:PDF
GTID:2208360092481525Subject:Computer applications
Abstract/Summary:PDF Full Text Request
J2EE (Java TM 2 Platform Enterprise Edition) is a platform for enterprise application by SUN Company. It defines the standard for developing multitier enterprise applications. Without complex programming, J2EE simplifies the complexity for developing extensible and scalable enterprise applications by adopting the distributed application model based on the standardized, modular components, providing a complete set of services to those components, and handling many details of application behavior automatically. More and more enterprises take the platform as the first choice for implementation their e-commence.A framework is a reusable, "semi-complete" application that can be customized to produce various applications. A framework is composed of a set of components. It is targeted for particular domain and provides a reused architecture, which simplefies the solution. The web application framework based on J2EE provides a reused architecture for developing web applications using J2EE techonology.The recent research and development works on Web Application Framework based on J2EE include Struct, Turbine, Barracuda, Freemaker, WeMacro, Velocity and etc. Struct, developed by SUN, is based on Model 2 archieture, and provides the pure MVC implementation. It handles Http request using MVC and handle http response using lots of XML and Customer Taglib. Turbine is a servlet-based framework that allows experienced Java developers to quickly build secure web applications. It can Integration with Velocity, Webmacro and FreeMarker ?Barracuda is based on the event driven model (including client-side event model and server-side event model), and provides the pure MVC implemeration. Freemarker, WebMacro, and Velocity are presentation framework. They are based on the very simple implementation of MVC structure, but handle the pretentation using a lot of template engines. The target of these models is to simplify the handling of Http request and formatting Http response.This paper introduces a web application framework based on J2EE. The framework is designed and developed by the author. Unlike the frameworks mentioned above, the authos work focuses on an abstract and common processeson web server, and provides the relative supports for each step, not only for a particular one. It is based on Model2 architecture, and provides a pure MVC implementation. The features or functions of the framework including:a) Receiving and handling Http requests on the server sideb) Modifying the dynamic resource of server side using web-event and synchronizing sessionc) Handling exceptions uniformlyd) JSP nested template for Http responsee) XML deployment servicef) Optional security handling based on Weblogic ROMS security realmg) An extensible Toolkit"The following steps should be applied when to develop a web application using the framework:a) Defining the Http request flow handlers and build the mapping to the relative URLb) Building the model mirror in web tierc) Defining the web eventd) Implemeting the business logice) Designing the web page templates and building JSP pages using the templatesf) Packaging and deploy the components, using XML deploy descriptor.The result of testing shows that in the process the framework encapsulates the process details of the web server, and the developers need only to focus on the implementation of business logic, using the relative interfaces provided by the framework.
Keywords/Search Tags:J2EE, Web application, Framework, UML
PDF Full Text Request
Related items