• Title/Summary/Keyword: jni

Search Result 51, Processing Time 0.032 seconds

Java Preprocessor for Integration of Java and C (자바와 C 언어 결합을 위한 자바 전처리기)

  • Yi, Chang-Hwan;Oh, Se-Man
    • Journal of Korea Multimedia Society
    • /
    • v.10 no.4
    • /
    • pp.537-547
    • /
    • 2007
  • According evolution of computer technology, computers execute complex and several tasks. Because of the complexity of program and restriction of programming language, applications are implemented using one more programming language. But it is no general methodology for using several languages and implementing it. This paper classified usages of programming language integration and methodology for implements programming languages integration through HLID(Heterogeneous Language Integration Degree) for solving above problem. And using HLID, it designed and implemented Java Preprocessor that improvement JNI-current implementation for integration between object-oriented language Java and procedural language C.

  • PDF

Java Native Method Generating System (자바 네이티브 메소드 생성 시스템)

  • 김도영;김상훈
    • The Journal of Information Technology
    • /
    • v.3 no.2
    • /
    • pp.13-21
    • /
    • 2000
  • Java native method is proposed for the efficient execution of time-critical code, running of platform dependent job, and reuse of established libraries. If the writing of the Java native method is the speedup of execution time, you must use a compiled language not java language to write native method. Also, you must know the usage of the Java native interface to use native method. To reduce these difficulties, we proposed java native method generator that changes java method into native method automatically. Also, NMG helps programmer to write C implementation for the native method because there Is no need for the concept of JNI.

  • PDF

Implementation of MPEG-21 DIA Utility Software for Stereoscopic Video Adaptation

  • Kwon Hyukmin;Kim Manbae
    • Journal of Broadcast Engineering
    • /
    • v.10 no.2
    • /
    • pp.139-148
    • /
    • 2005
  • This paper presents recent works of the development of MPEG-21 DIA utility software as one of MPEG-21 activities. The main purpose of this work is to make integrated utility software for DIA C/C++ modules in a Java framework. To do this, JNI plays a role of the interface of a main module with C/C++ DIA adaptation modules. Furthermore, DIA and DID parsers are integrated to the utility software. Our software is designed such that all DIA modules are easily integrated. A variety of adaptation modules have been adopted in MPEG-21 standard. Among them, stereoscopic video conversion that is one of DIA adaptation modules is chosen and we show that our utility software is correctly implemented based on experiments.

Design of Component Wrapper from legacy application using Java Native Interface (JNI를 이용한 레거시 어플리케이션의 컴포넌트 Wrapper 설계)

  • Baek, Su-Jin;Song, Young-Jae
    • Annual Conference of KIPS
    • /
    • 2004.05a
    • /
    • pp.253-256
    • /
    • 2004
  • 컴포넌트 기반의 소프트웨어를 개발하는 데 있어서 대부분의 방법론은 앞으로 구축할 새로운 시스템의 재사용성 확보에 치중할 뿐, 기존의 레거시 시스템 자원을 재사용하여 새로운 시스템을 구축하는 실용적인 재공학 방법을 지원하지 못하고 있다. 또한, 기존의 레거시 시스템을 컴포넌트화하는 방법들도 소프트웨어들의 규모가 방대해지고 복잡해짐으로써 시간적, 비용적 측면에서 많은 시간과 노력이 요구된다. 본 논문에서는 레거시 어플리케이션을 재공학 프로세스를 적용하여 컴포넌트화하기 원하는 메소드를 추출하고, WDL 정의 및 JNI를 연계하도록 하는 래퍼를 생성하여 자바빈즈 컴포넌트화함으로써 범위를 최대화하고, 재사용성을 극대화할 수 있는 방안을 제시한다.

  • PDF

Design and Implementation of Java Crypto Provider for Android Platform (안드로이드 플랫폼을 위한 자바 보안 프로바이더 설계 및 구현)

  • Son, Mikyung;Kang, Namhi
    • The Journal of Korean Institute of Communications and Information Sciences
    • /
    • v.37C no.9
    • /
    • pp.851-858
    • /
    • 2012
  • Java crypto library such as SUN JCA/JCE or BC JCE is generally used to implement secure applications for smart devices using Android platform. Programming functions written by Java language are launched and executed inside Java Virtual Machine (JVM), thereby difficult to use system hardware specific functionalities and degrading performance as well. In case of crypto primitive, few secure applications can use crypto primitive executing in JVM because both amount of computing and complexity of such primitives are very high. From the aspect of performance, in particular, time sensitive real time applications such as streaming services or secure application frequently applying public key based crypto algorithm cannot use Java crypto library. To solve the problem, we design and implement crypto library which employ JNI and NDK methods to directly access functions that implemented by native language such as C or C++. The proposed Java Crypto provider supports faster execution. Also developer can use our provider in the same way by writing traditional Java crypto library.

Performance Comparison of Implementation Technologies for Image Quality Enhancement Operations on Android Platforms (Android 플랫폼에서 구현 기술에 따른 화질 개선 연산 성능 비교)

  • Lee, Ju-Ho;Lee, Goo-Yeon;Jeong, Choong-Kyo
    • Journal of Digital Contents Society
    • /
    • v.14 no.1
    • /
    • pp.7-14
    • /
    • 2013
  • As mobiles devices with high-spec camera built in are used widely, the visual quality enhancement of the high-resolution images turns out to be one of the key capabilities of the mobile devices. Due to the limited computational resources of the mobile devices and the size of the high-resolution images, we should choose an image processing algorithm not too complex and use an efficient implementation technology. One of the simple and widely used image quality enhancement algorithms is contrast stretching. Java libraries running on a virtual machine, JNI (Java Native Interface) based native C/C++, and NEONTM SIMD (Single Instruction Multiple Data) are common implementation technologies in the case of Android smartphones. Using these three implementation technologies, we have implemented two image contrast stretching algorithms - linear and equalized, and compared the computation times. The native C/C++ and the NEONTM SIMD outperformed the native C/C++ implementation by 56-78 and 50-76 time faster respectively.

An Empirical Study of Diversity and Interoperability of Programming Languages (프로그래밍 언어의 다원성과 상호운영성의 실증적 분석)

  • Ko, Bongsuk;Lee, Byeongcheol
    • KIISE Transactions on Computing Practices
    • /
    • v.23 no.5
    • /
    • pp.304-309
    • /
    • 2017
  • Programmers use multiple languages to reuse legacy code best suited to their problems. However, it is quite challenging to develop error-free multilingual programs because new types of bugs occur since misunderstanding about language interfaces such as Java Native Interface (JNI) and Python/C. There is a considerable amount of research to overcome multilingual program bugs and errors but these researches have less consideration about substantiality of programming languages, language interfaces, and bugs to evaluate their analyses and tools. In this paper, we have identified and establish substantiality of multilingual programming research with empirical study about diversity and interoperability of programming languages in Ubuntu software ecosystem based on real-world statistical data.

Adaptable I/O System based I/O Reduction for Improving the Performance of HDFS

  • Park, Jung Kyu;Kim, Jaeho;Koo, Sungmin;Baek, Seungjae
    • JSTS:Journal of Semiconductor Technology and Science
    • /
    • v.16 no.6
    • /
    • pp.880-888
    • /
    • 2016
  • In this paper, we propose a new HDFS-AIO framework to enhance HDFS with Adaptive I/O System (ADIOS), which supports many different I/O methods and enables applications to select optimal I/O routines for a particular platform without source-code modification and re-compilation. First, we customize ADIOS into a chunk-based storage system so its API semantics can fit the requirement of HDFS easily; then, we utilize Java Native Interface (JNI) to bridge HDFS and the tailored ADIOS. We use different I/O patterns to compare HDFS-AIO and the original HDFS, and the experimental results show the design feasibility and benefits. We also examine the performance of HDFS-AIO using various I/O techniques. There have been many studies that use ADIOS, however our research is expected to help in expanding the function of HDFS.

The Design and Implementation of a Home Network Management System through a Web Browser (웹 브라우저를 이용한 홈 네트워크 관리 시스템의 설계 및 구현)

  • O, Bong-Jin;Kim, Chae-Gyu
    • The KIPS Transactions:PartA
    • /
    • v.8A no.4
    • /
    • pp.411-418
    • /
    • 2001
  • This paper describes the design and implementation of a home network management system through a web browser. All digital devices are connected to a set-top box on which personal java environment is installed through an IEEE1394 serial bus. The embedded web server on the set-top box supports persistent-connection of HTTP1.1 and servlet engine for JSDK2.1. The home network management system is developed as the form of a servlet and uses JNI to access IEEE1394 device driver\`s APIs. When a client selects an icon related with a device the user interface applet of the device is downloaded into a client\`s web browser and communicates with a related servlet through TCP/IP APIs.

  • PDF

Network Monitorring System based on JINI in Distributed Environment(RMS) (분산환경에서의 JINI를 기반으로 한 모니터링 시스템)

  • 송무찬;임성훈;김정선
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 2001.10c
    • /
    • pp.574-576
    • /
    • 2001
  • 현재의 기업 네트워크 상에는 다양한 분산환경 시스템들이 존재한다. 이와 더불어 업무에 사용되는 서버들이 갈수록 증가하는 추세에 있다. 이러한 다양한 서버들이 존재하는 분산환경 하에서 서버의 시스템 지연 및 단절 사태가 증가하고 데이터의 폭증에 따라 서버의 병목현상이 갈수록 심화되고 있다. 이를 관리하기 위해 많은 비용과 인력이 낭비되므로 통합된 환경에서 다양한 서버들을 관리할 수 있는 시스템이 필요하게 되었다. 따라서, 본 논문에서는 JAVA, JINI, JNI, C 라이브러리를 이용한 중앙 집중식 모니터링 관리 시스템을 제안하고자 한다.

  • PDF