Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/1288940.1288968acmconferencesArticle/Chapter ViewAbstractPublication PagesjtresConference Proceedingsconference-collections
Article

The Java legacy interface

Published: 26 September 2007 Publication History

Abstract

The Java Legacy Interface is designed to use Java for encapsulating native legacy code on small embedded platforms. We discuss why existing technologies for encapsulating legacy code (JNI) is not sufficient for an important range of small embedded platforms, and we show how the Java Legacy Interface offers this previously missing functionality.
We describe an implementation of the Java Legacy Interface for a particular virtual machine, and how we have used this virtual machine to integrate Java with an existing, commercial, soft real-time, C/C++ legacy platform.

References

[1]
G. Agosta, S. C. Reghizzi, and G. Svelto. Jelatine: a virtual machine for small embedded systems. In JTRES '06: Proceedings of the 4th international workshop on Java technologies for real-time and embedded systems, pages 170--177, New York, NY, USA, 2006. ACM Press.
[2]
aicas. http://www.aicas.com/jamaica.html. Visited June 2007.
[3]
Aonix. http://www.aonix.com/perc.html. Visited June 2007.
[4]
D. F. Bacon, P. Cheng, D. Grove, M. Hind, V. T. Rajan, E. Yahav, M. Hauswirth, C. M. Kirsch, D. Spoonhower, and M. T. Vechev. High-level real-time programming in Java. In EMSOFT '05: Proceedings of the 5th ACM international conference on Embedded software, pages 68--78, New York, NY, USA, 2005. ACM Press.
[5]
J. Boldt. The common object request broker: Architecture and specification. Specification formal/97-02-25, Object Management Group, July 1995.
[6]
H. Casse; and C. Rochange. Otawa, open tool for adaptive wcet analysis. http://www.irit.fr/recherches/ARCHI/MARCH/.
[7]
A. Dunkels, O. Schmidt, T. Voigt, and M. Ali. Protothreads: simplifying event-driven programming of memory-constrained embedded systems. In SenSys '06: Proceedings of the 4th international conference on Embedded networked sensor systems, pages 29--42, New York, NY, USA, 2006. ACM Press.
[8]
D. Gay, P. Levis, R. von Behren, M. Welsh, E. Brewer, and D. Culler. The nesc language: A holistic approach to networked embedded systems. In PLDI '03: Proceedings of the ACM SIGPLAN 2003 conference on Programming language design and implementation, pages 1--11, New York, NY, USA, 2003. ACM Press.
[9]
GRAMMATECH. http://www.grammatech.com/products/codesurfer/.Visited June 2007.
[10]
jamvm. http://jamvm.sourceforge.net/. Visited June 2007.
[11]
S. Liang. The Java Native Interface -- Programmers Guide and Specification. Addison-Wesley, 1999.
[12]
S. Malek, C. Seo, and N. Medvidovic. Tailoring an architectural middleware platform to a heterogeneous embedded environment. In SEM '06: Proceedings of the 6th international workshop on Software engineering and middleware, pages 63--70, New York, NY, USA, 2006. ACM Press.
[13]
A. N. and T. Givargis. Synthesis of time-constrained multitasking embedded software. ACM Trans. Des. Autom. Electron. Syst., 11(4):822--847, 2006.
[14]
A. Nilsson, T. Ekman, and K. Nilsson. Real Java for real time -- gain and pain. In CASES '02: Proceedings of the 2002 international conference on Compilers, architecture, and synthesis for embedded systems, pages 304--311, New York, NY, USA, 2002. ACM Press.
[15]
E. Potratz. A practical comparison between Java and ada in implementing a real-time embedded system. In SigAda '03: Proceedings of the 2003 annual ACM SIGAda international conference on Ada, pages 71--83, New York, NY, USA, 2003. ACM Press.
[16]
RTJComputing. http://www.rtjcom.com. Visited June 2007.
[17]
sablevm. http://www.sablevm.org/. Visited June 2007.
[18]
U. P. Schultz, K. Burgaard, F. G. Christensen, and J. L. Knudsen. Compiling Java for low-end embedded systems. In LCTES '03: Proceedings of the 2003 ACM SIGPLAN conference on Language, compiler, and tool for embedded systems, pages 42--50, New York, NY, USA, 2003. ACM Press.
[19]
F. Siebert. Hard Realtime Garbage Collection -- in Modern Object Oriented Programming Languages. PhD thesis, 2002.
[20]
A. S. Tanenbaum. Operating Systems -- Design and Implementation. Prentice-Hall, 1987.
[21]
A. Varma and S. S. Bhattacharyya. Java-through-c compilation: An enabling technology for Java in embedded systems. In DATE '04: Proceedings of the conference on Design, automation and test in Europe, page 30161, Washington, DC, USA, 2004. IEEE Computer Society.

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
JTRES '07: Proceedings of the 5th international workshop on Java technologies for real-time and embedded systems
September 2007
237 pages
ISBN:9781595938138
DOI:10.1145/1288940
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 26 September 2007

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Java/C integration
  2. embedded systems
  3. encapsulation
  4. legacy code
  5. multilanguage interoperability
  6. real-time
  7. scheduling

Qualifiers

  • Article

Acceptance Rates

Overall Acceptance Rate 50 of 70 submissions, 71%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 206
    Total Downloads
  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 01 Jan 2025

Other Metrics

Citations

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media