TAILIEUCHUNG - Báo cáo " An experience in developing embedded software using JNI "

Embedded software grows more and more rapidly and complicatedly. This paper proposes a new structure and a comprehensible process to develop embedded software in JNI, a new programming framework allowing Java code running in a JVM to call or be called by native application and library written in C/C++. Therefore, programmer can develop application that benefit the simplicity and reusability features of Java and can always reuse legacy code for controlling device effectively written in C/C++ for embedded applications. . | VNU Journal of Science Natural Sciences and Technology 24 2008 133-146 An experience in developing embedded software using JNI Nguyen Thi Thu Trang1 Tran Canh Toan1 Nguyen Manh Tuan1 Cao Tuan Dung1 Takenobu Aoshima2 1Hanoi University of Technology No 1 Dai Co Viet Hai Ba Trung Hanoi Vietnam 2Matsushita Electric Industrial Co. Ltd System Engineering Center Japan Received 31 October 2007 Abstract. Embedded software grows more and more rapidly and complicatedly. This paper proposes a new structure and a comprehensible process to develop embedded software in JNI a new programming framework allowing Java code running in a JVM to call or be called by native application and library written in C C . Therefore programmer can develop application that benefit the simplicity and reusability features of Java and can always reuse legacy code for controlling device effectively written in C C for embedded applications. Some experiences have summarized through two implemented case studies. Keywords Embedded software JNI RTSJ 1. Introduction Embedded software has traditionally been thought of as software on small computers 1 . In this traditional view the principal problem is resource limitations small memory small data word sizes and relatively slow clocks. Embedded software today is written using low level programming languages such as C or even Assembler to cope with the tight constraints on performance and cost typical of most embedded systems 2 . The C programming language is currently quite popular for small embedded devices. C s main advantage is its flexibility. It is quite easy to interoperate with other language and hardware. However this advantage often easily turns into disadvantages as project complexity Corresponding author. Email trangntt-fit @ increases 3 . C does not provide enough abstraction to program large and complex embedded systems effectively even on midsize projects. Moreover it is difficult to maintain the code and describe complex .

TỪ KHÓA LIÊN QUAN
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.