Automated Translation of Java']Java Source Code to Eiffel

被引:0
|
作者
Trudel, Marco [1 ]
Oriol, Manuel [2 ]
Furia, Carlo A. [1 ]
Nordio, Martin [1 ]
机构
[1] Swiss Fed Inst Technol, Chair Software Engn, Zurich, Switzerland
[2] Univ York, York YO10 5DD, N Yorkshire, England
来源
OBJECTS, MODELS, COMPONENTS, PATTERNS, TOOLS 2011 | 2011年 / 6705卷
关键词
LEGACY; OBJECTS;
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Reusability is an important software engineering concept actively advocated for the last forty years. While reusability has been addressed for systems implemented using the same programming language, it does not usually handle interoperability with different programming languages. This paper presents a solution for the reuse of Java code within Eiffel programs based on a source-to-source translation from Java to Eiffel. The paper focuses on the critical aspects of the translation and illustrates them by formal means. The translation is implemented in the freely available tool J2Eif; it provides Eiffel replacements for the components of the Java runtime environment, including Java Native Interface services and reflection mechanisms. Our experiments demonstrate the practical usability of the translation scheme and its implementation, and record the performance slow-down compared to custom-made Eiffel applications: automatic translations of java. util data structures, java.io services, and SWT applications can be re-used as Eiffel programs, with the same functionalities as their original Java implementations.
引用
收藏
页码:20 / 35
页数:16
相关论文
共 50 条
  • [1] A Tool for Automated Certification of Java']Java Source Code in Maude
    Alba-Castro, M.
    Alpuente, M.
    Escobar, S.
    Ojeda, P.
    Romero, D.
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2009, 248 : 19 - 29
  • [2] Java']JavaML: a markup language for Java']Java source code
    Badros, GJ
    COMPUTER NETWORKS, 2000, 33 (1-6) : 159 - 177
  • [3] Java']Java Source Code Defect Detection
    Zhu, Hong
    Jin, Dahai
    2015 8TH INTERNATIONAL CONFERENCE ON BIOMEDICAL ENGINEERING AND INFORMATICS (BMEI), 2015, : 695 - 699
  • [4] TRANSLATION OF USE CASE SCENARIOS TO JAVA']JAVA CODE
    Smialek, Michal
    Jarzebowski, Norbert
    Nowakowski, Wiktor
    COMPUTER SCIENCE-AGH, 2012, 13 (04): : 35 - 52
  • [5] Developing Translation Rules of Java']Java-JML Source Code to Event-B
    Hadiputra, Faisal Ibrahim
    Asnar, Yudistira D. W.
    Hendradjaya, Bayu
    2014 INTERNATIONAL CONFERENCE ON DATA AND SOFTWARE ENGINEERING (ICODSE), 2014,
  • [6] Eiffel和Java
    成志毅
    个人电脑, 1998, (01) : 50 - 50
  • [7] Indexing the Java']Java API using source code
    Ma, Homan
    Amor, Robert
    Tempero, Ewan
    ASWEC 2008: 19TH AUSTRALIAN SOFTWARE ENGINEERING CONFERENCE, PROCEEDINGS, 2008, : 451 - 460
  • [8] Topology Structure and Centrality in A Java']Java Source Code
    Ying, Long
    Ding, De-wu
    2012 IEEE INTERNATIONAL CONFERENCE ON GRANULAR COMPUTING (GRC 2012), 2012, : 787 - 789
  • [9] Scripting Language for Java']Java Source Code Recognition
    Bublik, Tomas
    Virius, Miroslav
    INTERNATIONAL CONFERENCE ON FUTURE INFORMATION ENGINEERING (FIE 2014), 2014, 10 : 119 - 130
  • [10] To Generate the Ontology from Java']Java Source Code
    Ganapathy, Gopinath
    Sagayaraj, S.
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2011, 2 (02) : 111 - 116