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

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Dive deep into the Java Native Interface (JNI) with this comprehensive 28-hour course. Master the intricacies of integrating Java with native code, exploring topics from basic setup to advanced techniques. Learn to create Java/C++ projects, generate and work with JNI header files, and configure development environments in NetBeans and Eclipse IDEs. Discover how to handle native methods, work with primitive and object arrays, manipulate strings, and access fields and methods of Java classes from C/C++. Explore caching techniques, interface with C++ libraries, and understand the nuances of working with boxed primitives and generic types. By the end of this course, gain the expertise to effectively leverage JNI for seamless integration between Java and native code, enhancing your ability to develop high-performance, cross-platform applications.

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.