Research and Design of Code Auto-Generation Middleware Based on Struts

Author
LiuHongTao
Advisor
LiDeChang
School
Jilin University
Major
Applied Computer Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2006
Downloads
144
Citations
4

Request the full text

Abstract

In order to improve the efficiency of software developmentand the industrialization process. This thesis do some research anddesign work on code auto-generation middleware based on struts .The main goal of this research is to construct an automaticcode generation middleware, which can develope concreateapplications quickly. This paper take advantage of the existingtechnology such as framework, model, middleware. Nowadaysthere are many problems occur in software development , forexample long period of development, so many bugs, hard tomaintain. To solve the problems this paper do some work to reducethe difficulty in development.The problems which are encountered when we write programin traditional workshop style method consists of :1 efficiency and quality problem.2 the unpredictable periods of project lead up to theproduction cost problem.3 the problem of personel train and personel resource.4 the conflict between the technology realization and thefrequently changed need of market.The expanding role of software and information systems in theworld has focused increasing attention upon the need forassurances that software systems can be developed at acceptablespeed and cost, on a predictable schedule, and in such a way thatresulting systems are of acceptably high quality and can be evolvedsurely and rapidly as usage contexts change. This sharpened focusis creating new challenges and opportunities for software processtechnology. The increasing pace of software system change requiresmore lightweight and adaptive processes, while the increasingmission-criticality of software systems requires more processpredictability and control, as well as more explicit attention tobusiness or mission values. Emergent application requirementscreate a need for ambiguity-tolerance. Systems of systems andglobal development create needs for scalability andmulti-collaborator, multi-culture concurrent coordination. Theseproducts provide powerful capabilities, but theirvendor-determined evolution places significant constraints onsoftware definition, development, and evolution processes.The code auto-generation technology is widely used in such asweb pages generation, web station generation and enterpriseapplication program. I carry out the duty on the major design ofthe system. The main aspects of my research are described asfollows.1 automatic generation and deployment script languageAscript and the kernel technology of auto-generation andauto-deployment.2 the basic business framework WebFusion Framework.3 WebFusion Studio.In this research area most of the people pay more attention tothe component technology and auto deployment technology.Currently in our country there are many outcomes on componenttechnology and research of component library. But there are lessmeaningful reports on code auto-generation.The key technology of my research invovled in severalaspects , J2EE, XML, struts,Ibatis,software auto-generation anddeployment script language and the software auto-deploymentkernel technology.In design pattern Gamma defined the framework as follows.Framework is a set of classes which cooperate to make a reusefuldesign of a specific type of software. [Gamma 94,p.26].Frameworkrefers to the specific type of a problem. For example, struts is aframework for web development.We can regard middleware as a special sort of component.The so-called middleware is a layer of software between operatingsystem and application system. In heterogeneous distributedenvironment middleware divides the application system and thespecific operating system environment. So the application upside isindependent from the operating system. For the client-server styleapplication system, middleware take an important position.Middleware is a bridge between client request and server response.We can divide this system into three parts logically,WebFusion Framework, WebFusion Studio, Ascript. WebFusionFramework is the major framework of the applicationprogram .That is achieved by modeling the business logic.Standardization leads to the code auto-generation. WebFusionStudio is an assembly line tool which can generate, assemble, build,deploy application program. It is so-called IDE. Ascript is a kind ofscript language which independent knowledge copyright is owned.When you develop an application program with this tool.First you can edit the model files which are constructed withAscript. Ascript transfers the parameters to the basic softwareplatform and business framework. After compiling, the applicationprogram is finished. You can customize the WebFramework easily.In this process, programmers are only need to tell this projecttool , ‘What to do’. WebFusion Studio know how to generate,assemble, build, and deploy the system.WebFusion is already a product on sale. Agricultural Bank ofChina and some other enterprises selected the system to developmanagement and information system.The main technology functions reach high level in china. Theproject have three main creative points, 1. auto-generation andauto-assemble script language Ascript. 2. auto-generation tool,auto-assemble tool, auto-deploy tool. 3. the basic frameworkwhich supports the application.This product is designed for enterprise management,business and other applications. Its goal is to solve the problemssuch as cost, efficiency, personel resource, technology, and change .Many features of the product are described as follows.1 auto-generation assemble script language Ascript.2 100% business component code auto-generation.3 assemble, build, deploy the application in an visualinterface.4 an unified basic software framework.5 auto-manangement and auto-maintenance in software

Table of contents

The first chapter 8-15 1.1 Project Background 8-9 1.2 related areas of previous work and technical status quo 9-11 the 1.3 main content and significance 11-15 1.3.1 main content 11 1.3.2 significance 11-15 system development foundation 15-21 2.1 middleware 15-16 2.2 an XML 16 2.3 Overview of design patterns 16 - 17 2.4 MVC design pattern 17-18 2.5 the Struts the 18-19 2.5.1 Struts advantages 18 2.5. 2 Struts shortcomings 18-19 2.6 Ibatis 19-21 2.6.1 SQL Map 19 2.6.2 DAO (Data Access Object ) 19 2.6.3 Ibatis and Hibernate distinction 19-21 the Chapter system architecture nbsp 21-26 3.1 project technical principles ; 21 3.2 technology roadmap described 21-22 3.3 component architecture nbsp 22 3.4 system development runtime environment; 22-23 < br /> 3.5 main contents 23 3.7 project system constitute 23-25 ?? 3.7.1 WebFusion FrameWork, 24 3.7.2 WebFusion Studio nbsp 24 3.7.3 Ascript,; the 24-25 3.8 System Features the 25-26 of fourth chapter WebFusion FrameWork 26-38 4.1 shortcomings of traditional development tools to develop applications 26 4.2 framework and template overview 26-30 4.2.1 framework for software development significance 27-28 4.2.2 Webfusion Framework Overview 28-30 4.3 database constitutes 30 4.4 template file 30-33 <br / > 4.4.1 The benefits of the use of templates 30-32 4.4.2 Standardization and automation 32-33 4.5 template file for example 33-38 <br / Chapter WebFusion Studio 38-44 5.1 components and automatically generated the technical overview 38 5.2 Template Manager 38-39 5.3 application development interface nbsp 39-40 5.4 application composition structure; 40-41 5.5 application descriptor file 41-44 Chapter Ascript 44-51 6.1 Ascript general descriptions are found; 44 6.2 system objects and variables 44-46 the 6.3 compiler General structure 46-47 6.4 WebFusion template file parsing process 47-50 6.5 Keyword interpreter example nbsp 50-51 Chapter VII Summary and Outlook; the 51-54 7.1 Conclusion 51-52 7.2 Looking 52 7.3 Identification, copyright registration applications 52-54 <br / > Major Reference 54-56 Summary 56-59 Abstract 59-62 Acknowledgements 62-63 <br / > instructors Profile 63 Author 63

Related dissertations

  1. The Study of Intelligent Warehouse System Based on the Internet of Things
    WeiGuangWei ·Beijing Materials Institute ·2013 ·Master's thesis
  2. Research on Information Fusion Technology in Internet of Things for Context Awareness in Shmart Home
    JingYanYan ·Harbin Institute of Technology ·2012 ·Master's thesis
  3. Research on Web Information Extraction Middleware for Supply and Demand of Agricultural Products
  4. Development of Realtime Interface Device for Hit-tena’s Resources
    XieDongZhou ·Harbin Institute of Technology ·2012 ·Master's thesis
  5. Research of RFID-based Commodity Anti-counterfeiting and Traceability System Technology
  6. Research and Application of RFID Middleware Based on Warehouse Management
  7. The Design and Implementation of the Securities Industry Large Centralized Trading System
  8. Research and Design of Middleware about Data Distributing in Campaign System
  9. Application and Research of Digital Room Service System Based on Cluster Server
  10. Design and Implementation of Food Safety Traceability System for Asia Group
    HuYu ·Dalian University of Technology ·2013 ·Master's thesis
  11. Passenger Transport Enterprises for the Public and Road Passenger Transport Management System Design and Implementation
  12. Seamless Steel Tube Production Logistics Management System Based on Radio Frequency Technology
    YangRenXing ·Dalian University of Technology ·2013 ·Master's thesis
  13. Distributed Electronic Health Record System Based on Middleware
    ZhangZuo ·Donghua University ·2014 ·Master's thesis
  14. Development of the New System Applied to the Career Technical College
  15. The Design and Implementation of Hotel IC Card Management System Based on the Theory of RFID
  16. And Realization of ERP system information integration middleware and Design Enterprises
    WuChenZuo ·Heilongjiang University ·2013 ·Master's thesis
  17. The Design and Implementation of Plug-in Energy Data Collection Middleware
    ShengKe ·South China University of Technology ·2013 ·Master's thesis
  18. The Design and Implement of Distributed Platform Based on Web Service and OSGi
  19. Research of Component Supported Digital Media Middleware Technology
  20. Research and Realization of Information Interactive Platform Base on Midware of Digital TV Technology
    YaoYanMei ·Chengdu University of Technology ·2013 ·Master's thesis