Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

freeCodeCamp

Java Native Interface (28-Hour Course)

via freeCodeCamp

Overview

This course aims to teach learners how to become experts in the Java Native Interface (JNI) through a 28-hour comprehensive program. The course covers a wide range of topics, including setting up C/C++ development environments, working with primitive and object arrays, accessing fields and methods of Java classes in C/C++, and managing native resources with JNI. The teaching method involves practical demonstrations and examples, with a focus on hands-on projects. This course is intended for individuals interested in mastering the integration of Java with native code using JNI.

Syllabus

) Introduction to Java Native Interface (JNI).
) A Simple Java/C++ Project in NetBeans IDE.
) A Closer Look at JNI Header Files.
) Setting up C/C++ Development in Eclipse IDE.
) Configuring External Tool to Generate Header Files.
) Exporting Java Project to jar File With Dynamic Libraries.
) Configuring External Tool for JDK 9 or Later.
) Overloading Native Methods.
) Overriding Native Methods.
) Signature of Overloaded Native Methods in C++ (Part 1).
) Signature of Overloaded Native Methods in C++ (Part 2).
) Order of Execution for Static Initializers in the Class Hierarchy.
) Working with JNI Primitive Types.
) Working with Primitive Arrays.
) Working with Object Arrays.
) Working with Strings.
) Accessing Instance Fields of a Java Class in C/C++.
) Accessing Static Fields of a Java Class in C/C++.
) Setting Fields of Java Class in C++.
) Local Caching of Field IDs in C++.
) Global Caching of Field IDs in C++.
) Calling Instance Methods of a Java Class in C/C++.
) Calling Static Methods of a Java Class in C/C++.
) Calling Methods of a Java Interface in C++.
) Creating and Returning Java Objects from C++ Code.
) Downloading and Installing GNU Scientific Library (GSL).
) A Simple Example of Java/C++ Library Linking.
) Working with Boxed Primitives (Wrappers) and List E in C++.
) Nonvirtual Call of Methods of a Java Class in C++.
) Linking Against Static C++ Libraries.

Taught by

freeCodeCamp.org

Reviews

Start your review of Java Native Interface (28-Hour Course)

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.