Design and Implementation of JPP(JNI Preprocessor)

JPP(JNI 전처리기)의 설계 및 구현

  • Lee, Chang-Hwan (Dept.of Computer Engineering, Dongguk University) ;
  • O, Se-Man (Dept.of Computer Engineering, Dongguk University)
  • 이창환 (동국대학교 대학원 컴퓨터공학과) ;
  • 오세만 (동국대학교 컴퓨터공학과)
  • Published : 2002.03.01


JNI is a linkage method to other languages such as C/C++ which enables the Java to do the platform-dependent specific tasks and also, it can be used to reuse the existing libraries and programs. However, the complex and difficult steps are required to use JNI and it is Inconvenient to manipulate Java source and C/C++ source separately. We design and implement the JPP (Java Preprocessor) that enables the Java source and C/C++ source to handle in a same source file and reduces the required steps so as to use JNI easily.


  1. The Java Language : An Overview, White Paper, Sun Microsystem, 1996
  2. Java Native Interface, Javasoft, 1997
  3. Compione, Walrath, Huml, and Tutorial Team, 'Java Tutorial continued,' Addison-Wesley, 1998
  4. Rob Gordon, 'Essential JNI,' Prentice-Hall, 1998
  5. 이창환, 오세만, 'C/C++에서 자바객체 이용을 위한 인터페이스', 정보처리학회 '99 춘계학술발표논문집, 1999
  6. 이창환, 오세만, '자바객체를 사용할 수 있는 자바스크립트 해석기의 설계 및 구현', 정보과학회 '99 추계학술발표논문집, 1999
  7. 오세만, 이양선, 김상훈, 고광만, 자바입문 개정판, 생능출판사, 2000
  8. Elliot Berk, C. Scott Ananian, JLex : A Lexical Analyzer Generator for Java(TM), http : //
  9. Scott E. Hudson, CUP Parser Generator for Java, http : //www.cs.princeton,edu/~appel/modern/java/CUP/
  10. Nik Shaylor, JPP-A preprocessor for the Java language, http : //, 1996