Skip navigation
Run Run Shaw Library City University of Hong KongRun Run Shaw Library

Please use this identifier to cite or link to this item: http://dspace.cityu.edu.hk/handle/2031/542
Full metadata record
DC FieldValueLanguage
dc.contributor.authorChan, Grant Wing Fai
dc.date.accessioned2006-01-20T06:31:53Z
dc.date.accessioned2017-09-19T08:50:37Z
dc.date.accessioned2019-02-12T06:54:23Z-
dc.date.available2006-01-20T06:31:53Z
dc.date.available2017-09-19T08:50:37Z
dc.date.available2019-02-12T06:54:23Z-
dc.date.issued2003
dc.identifier.other2003cscwf281
dc.identifier.urihttp://144.214.8.231/handle/2031/542-
dc.description.abstractThe 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.extent164 bytes
dc.format.mimetypetext/html
dc.rightsThis work is protected by copyright. Reproduction or distribution of the work in any format is prohibited without written permission of the copyright owner.
dc.rightsAccess is restricted to CityU users.
dc.titleModel-based generation of java codeen
dc.contributor.departmentDepartment of Computer Scienceen
dc.description.supervisorChow, 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 SizeFormat 
fulltext.html164 BHTMLView/Open
Show simple item record


Items in Digital CityU Collections are protected by copyright, with all rights reserved, unless otherwise indicated.

Send feedback to Library Systems
Privacy Policy | Copyright | Disclaimer