Please use this identifier to cite or link to this item:
http://dspace.cityu.edu.hk/handle/2031/542
Full metadata record
DC Field | Value | Language |
---|---|---|
dc.contributor.author | Chan, Grant Wing Fai | |
dc.date.accessioned | 2006-01-20T06:31:53Z | |
dc.date.accessioned | 2017-09-19T08:50:37Z | |
dc.date.accessioned | 2019-02-12T06:54:23Z | - |
dc.date.available | 2006-01-20T06:31:53Z | |
dc.date.available | 2017-09-19T08:50:37Z | |
dc.date.available | 2019-02-12T06:54:23Z | - |
dc.date.issued | 2003 | |
dc.identifier.other | 2003cscwf281 | |
dc.identifier.uri | http://144.214.8.231/handle/2031/542 | - |
dc.description.abstract | The aim of my project is to study a generation approach and implement a code generation tool with this approach. Generative Programming (GP) is selected and the concept of GP is applied in both modeling and implementation issues. To fulfill the functional requirement, two pieces of software are implemented: U2J OO CASE Tool and Code Generator. U2J OO CASE Tool is a Java program running in Windows. It guides the 5 procedures of code generation. Code generator is one component involved in the procedures which analyzes and processes all the data in the Class diagram, Sequence diagram, Activity diagram, and Use Case diagram of UML. The methodology used is the conversion of (Unified Modeling Language) UML diagrams to XML Metadata Interchange (XMI) file format. Then the XMI file is passed to Code Generator for generating Java code. U2J OO CASE Tool is developed for facilitating the above tasks. When the software system becomes more complicated, the workload of the programmers increases. With the use of OO approach, programmers need the knowledge of UML in order to analyze and interpret the information of system model while the system design and even requirement is added and modified. So U2J OO CASE Tool can analyze the UML diagrams for the programmers. In addition, 100% of code is generated for the programming task. Since Raymond’s project [15] of last year generated about 94% of code, potential exists to improve quality and quantity of the code. Moreover, U2J OO CASE Tool handles the UML diagrams with GP concept while the Code Generator is implemented by the technology of metaprogramming of GP. This makes uses of GP advantages including production of reusable implementation components and highly customized system, as well as better system performance. As a result, by using the U2J OO CASE Tool, system designer can implement the system in the early stage so the implementation cost decreases with less workload of programming. Also reusable components are implemented and this enables the reusability of the systems. | |
dc.format.extent | 164 bytes | |
dc.format.mimetype | text/html | |
dc.rights | This work is protected by copyright. Reproduction or distribution of the work in any format is prohibited without written permission of the copyright owner. | |
dc.rights | Access is restricted to CityU users. | |
dc.title | Model-based generation of java code | en |
dc.contributor.department | Department of Computer Science | en |
dc.description.supervisor | Chow, K O. First Reader: Ng, C K Margaret. Second Reader: Jia, Xiaohua | |
Appears in Collections: | Computer Science - Undergraduate Final Year Projects |
Files in This Item:
File | Size | Format | |
---|---|---|---|
fulltext.html | 164 B | HTML | View/Open |
Items in Digital CityU Collections are protected by copyright, with all rights reserved, unless otherwise indicated.