Font Size: a A A

Research On Software Refactoring Method Toward SaaS Application

Posted on:2013-05-15Degree:MasterType:Thesis
Country:ChinaCandidate:K ZhangFull Text:PDF
GTID:2248330371982743Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
With the development of network technology, SaaS (Software as a Services, Softwareas a Service) concept is being more and more companies and individuals to accept. The SaaSprogram has the support can be customized, multi-tenant, pay-by-used. SaaS supplier isresponsible for all hardware and software resources SaaS need, and also responsible for theoperation of the user data storage, software updates. The program’s user SaaS equipment canbe need to be able to access the Internet. This makes the program SaaS the user can pay theminimum cost at the same time get maximum service.This paper studies two aspects: the attempt to have a functional perspective SaaS programframework a SaaS procedures, and software reconstruction method to the conversion of thethree-tier Web applications to the automation of SaaS program.Presented in this paper SaaS procedural framework is divided into four layers: userinteraction layer, configuration layer, business logic and data access layer. User interactionfunctionality is provided to the user interface of a access SaaS program, which is available tothe user access SaaS program page, the page file can be a html file or jsp form of files. The bySaaS program available to a user’s page, the user can program SaaS. Available to a user’s pageSaaS program, one is fixed the page: for all SaaS users the same page, for example, landingpages, tenant management page. Other page we call custom page: This category page todisplay different pages based on user customizable data fields or the business processes ofdifferent page of this class need generation of SaaS program dynamic, custom pagedynamically generated by the custom page generation module. Configuration layer is mainlyresponsible for the custom action of users for SaaS program implementation, depending onthe user’s customized content can be divided into custom data fields and custom businessprocesses. Custom data field refers to the user can be customized according to their needs inthe SaaS procedures related to the operation with their own data fields, users can also addcustom data fields constraint information. If SaaS business processes of the program can notmeet the needs of users, the user can custom business process operations according to theirneeds. The business logic layer, including the main business processes, SaaS included in thelayer but also to achieve the function of tenant management, tenant management function mainly through tenant management module. The data access layer to achieve SaaS programdatabase operations in the layer entity classes mapped to database table. Through the layerentity class access to the SaaS program database operations.Web applications to SaaS program conversion, including the reconstruction of theoriginal Web application architecture, database refactoring, the presentation layerreconstruction, reconstruction of the business logic layer, data access layer reconstruction andconfiguration layer to add to achieved. Architecture reconstruction is to reconstruct theoriginal architecture of Web applications, the reconstructed structure can meet the proposedSaaS architecture. Refactoring of the database is added to the database table can achieve thefunctions of the multi-tenant, and also needed to reconstruct the table of the original Webapplication. Once you add a new table in the database, you need to reconstruct the data accesslayer: map an entity class that is newly added in the layer table. Said the reconstruction of thelayer including the process of reconstruction to add customization features page and thereconstruction of the custom page, the login page. The reconstruction of the business logiclayer is the layer related to the business processes with custom data fields to be reconstructedand also to reconstruct the layer user management module, making the reconstruction, afterthat user management can be achieved tenant management functionality.
Keywords/Search Tags:SaaS, Architecture, Refactoring
PDF Full Text Request
Related items