Java Training
Apache and Tomcat Training

Java Training
Apache and Tomcat Training
View all of our course offerings
Place an order for courseware
Frequently Asked Questions
Contact Us

Java: Under the Hood™

JNI - Java Native Interface

The Java Native Interface provides a mechanism for Java code to invoke native code, specifically C and C++ functions. JNI can also be used to embed a JVM into native code so that C and C++ functions can invoke Java code.

It is not difficult to find many benefits of JNI. With all the existing C and C++ legacy code, calling native code from Java code is a necessity.

Course Length:

1 day

Audience:

This course is intended for intermediate Java programmers who have experience developing C/C++ applications and dynamic libraries.

Overview

  • Overview of JNI: Interface to native code.
  • Using JNI: The steps involved in using JNI.
  • "Hello, JNI": Your first JNI application.
  • JNI Data Types: How the Java data types map to JNI’s data types.
  • The Methods of JNI: A reference for the JNI methods.
  • Fields, Methods and Constructors: Accessing members of Java objects from native code.

Home | Java Training | Apache Training | Courses | Courseware | FAQ | Contact Us

©2004 JLicense, Inc. All rights reserved.