Refactoring Java']Java Code for Automatic API Generation

被引:0
|
作者
Liu, Genggeng [1 ,2 ]
Hu, Chuanshumin [1 ,2 ]
Chen, Shihong [1 ,2 ]
Zhang, Ying [3 ]
Chen, Xing [1 ,2 ]
机构
[1] Fuzhou Univ, Coll Math & Comp Sci, Fuzhou, Peoples R China
[2] Fujian Key Lab Network Comp & Intelligent Informa, Fuzhou, Peoples R China
[3] Peking Univ, Natl Engn Res Ctr Software Engn, Beijing, Peoples R China
基金
国家重点研发计划;
关键词
API; runtime architecture; refactoring; C/S system;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
With the development of the Internet, a large number of computer applications have emerged, and the quantity is still growing rapidly. These applications contain a lot of useful data and functions, however, as most of them are not available and couldn't interact with each other, so the data and functions are difficult to shared and reused, resulting in a huge waste of resources. In order to solve this problem, secondary development is needed on the basis of the source system. For example, it is necessary to collect data from client applications or integrate their functions. Therefore, a framework of automatic encapsulation API based on the client system is proposed in this paper. Firstly, using a design pattern to reconstruct the runtime software architecture. Secondly, an algorithm is proposed for parameter matching to automatically construct API template. Thirdly, a framework is implemented to support design patterns and matching algorithms. In conclusion, we experimented with a real client system, and the results show that in most cases our method can effectively encapsulate and reduce the execution time of the functions.
引用
收藏
页码:114 / 119
页数:6
相关论文
共 50 条
  • [1] Correct Refactoring of Concurrent Java']Java Code
    Schaefer, Max
    Dolby, Julian
    Sridharan, Manu
    Torlak, Emina
    Tip, Frank
    [J]. ECOOP 2010: OBJECT-ORIENTED PROGRAMMING, 2010, 6183 : 225 - +
  • [2] An automatic method for refactoring Java']Java programs
    Yamazaki, S
    Nagata, M
    [J]. KNOWLEDGE-BASED SOFTWARE ENGINEERING, 2002, 80 : 167 - 172
  • [3] A Selenium based Approach to Automatic Test Script Generation for Refactoring Java']JavaScript Code
    Chen, Ruifeng
    Miao, Huaikou
    [J]. 2013 IEEE/ACIS 12TH INTERNATIONAL CONFERENCE ON COMPUTER AND INFORMATION SCIENCE (ICIS), 2013, : 341 - 346
  • [4] Automatic Model Generation from Documentation for Java']Java API Functions
    Zhai, Juan
    Huang, Jianjun
    Ma, Shiqing
    Zhang, Xiangyu
    Tan, Lin
    Zhao, Jianhua
    Qin, Feng
    [J]. 2016 IEEE/ACM 38TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2016, : 380 - 391
  • [5] LiveRef: a Tool for Live Refactoring Java']Java Code
    Fernandes, Sara
    Aguiar, Ademar
    Restivo, Andre
    [J]. PROCEEDINGS OF THE 37TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, ASE 2022, 2022,
  • [6] Model-Driven Java']Java Code Refactoring
    Hamioud, Sohaib
    Atil, Fadila
    [J]. COMPUTER SCIENCE AND INFORMATION SYSTEMS, 2015, 12 (02) : 375 - 403
  • [7] Refactoring a Java']Java code base to AspectJ: An illustrative example
    Monteiro, MP
    Fernandes, JM
    [J]. ICSM 2005: PROCEEDINGS OF THE 21ST IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, 2005, : 17 - 26
  • [8] A Refactoring Suggestion Tool for Removing Clones in Java']Java Code
    Fontana, Francesca Arcelli
    Zanoni, Marco
    Zanoni, Francesco
    [J]. ERCIM NEWS, 2014, (99): : 25 - 26
  • [9] Component-Based Java']Java Legacy Code Refactoring
    Arboleda, Hugo
    Paz, Andres
    Royer, Jean-Claude
    [J]. REVISTA FACULTAD DE INGENIERIA-UNIVERSIDAD DE ANTIOQUIA, 2013, (68): : 104 - 114
  • [10] Rule based production systems for automatic code generation in Java']Java
    Bajwa, Imran Sarwar
    Siddique, M. Imran
    Choudhary, M. Abbas
    [J]. 2006 1ST INTERNATIONAL CONFERENCE ON DIGITAL INFORMATION MANAGEMENT, 2006, : 300 - +