Font Size: a A A

Modernizing Java ServerPages by transformation

Posted on:2006-06-25Degree:M.ScType:Thesis
University:Queen's University at Kingston (Canada)Candidate:Xu, Sheng NFull Text:PDF
GTID:2458390008468567Subject:Computer Science
Abstract/Summary:
In this thesis, we present an automated restructuring technique and implement a proof of concept prototype that can help developers to perform the separation of presentation and business logic for existing JSP-based web applications. To perform the separation, this technique restructures an existing web application by migrating interweaved Java code in JSP pages into custom tags without changing the original functionality, user interface, and code comment of the application. To implement the concept prototype, we adapt the robust multilingual parser technique using island grammars for program understanding, and also use design recovery, unique renaming, and source-to-source TXL transformation techniques in program analysis and transformation. The prototype is intelligent because it is able to not only help system developers to understand a system that needs to be restructured but also automate the actual desired structures and the final restructuring. To show the effectiveness of this prototype, we test the prototype through two web applications. The testing results show that the prototype based on the presented restructuring technique can successfully modernize both web applications by migrating Java code embedded in JSP pages into custom tags. (Abstract shortened by UMI.)...
Keywords/Search Tags:Java, Web applications, Prototype, Technique
Related items