JNI API and C API (Deprecated): Difference between revisions

From wizarPOS
No edit summary
No edit summary
 
Line 1: Line 1:
=== JNI API ===
=== JNI API Overview ===
The JNI interface wraps the C API to help Java developers use the C API. We recommend that you use the Java API instead of the JNI API.
The JNI (Java Native Interface) API is a tool that allows Java developers to use the C programming language in their Java applications. While it's available, we suggest using the Java API for most cases, as it's easier to work with.
*[http://{{SERVERNAME}}/jniinterfaceapi/ API Spec]
*[http://{{SERVERNAME}}/jniinterfaceapi/ API Specifications]
*[http://ftp.wizarpos.com/device/c/jnidoc1.5.2.13.zip API Spec Download]
*[http://ftp.wizarpos.com/device/c/jnidoc1.5.2.13.zip You can download the API specifications]
*[[How to import JNI to a project]]
*[[How to import JNI to a project|Instructions are provided on how to add JNI to your project.]]
*[[C&JNI Samples|Samples]]
*[[C&JNI Samples|We offer sample codes for better understanding.]]


=== C API ===
=== C API Details ===
C API related header files and so libraries have been included in the system. Application developers can create native so libraries through C API to implement their business logic. As a result, the implementation will be more secure than the Java implementation. For example, the EMV library can use the C API.
* The C API is already integrated into the system with necessary header files and libraries.
*[[C API Spec|API Spec]]
* Developers can build their own native libraries using the C API to handle specific tasks in their applications. This approach is often more secure compared to using Java.
*[[header files|Header files]]
* For instance, the EMV (Europay, MasterCard, and Visa) processing can be efficiently handled through the C API.
*[[C&JNI Samples|Samples]]
==== Resources for C API ====
*[[C API Spec|Access to API specifications.]]
*[[header files|Available header files for use.]]
*[[C&JNI Samples|Examples and sample codes.]]

Latest revision as of 07:17, 20 December 2023

JNI API Overview

The JNI (Java Native Interface) API is a tool that allows Java developers to use the C programming language in their Java applications. While it's available, we suggest using the Java API for most cases, as it's easier to work with.

C API Details

  • The C API is already integrated into the system with necessary header files and libraries.
  • Developers can build their own native libraries using the C API to handle specific tasks in their applications. This approach is often more secure compared to using Java.
  • For instance, the EMV (Europay, MasterCard, and Visa) processing can be efficiently handled through the C API.

Resources for C API