Tagged articles
5 articles
Page 1 of 1
Zhuanzhuan Tech
Zhuanzhuan Tech
Mar 15, 2023 · Backend Development

EJC Architecture: Integrating Electron, Java, and C/C++ for Scalable Desktop Quality Inspection Applications

This article presents the EJC (Electron‑Java‑C/C++) architecture adopted by ZhiZhuan’s quality‑inspection platform, detailing its layered design, communication modules, JNI/JNA integration, performance comparisons, and real‑world implementation for cross‑platform desktop tools, illustrating how the approach enhances extensibility, maintainability, and scalability.

CDesktop ApplicationElectron
0 likes · 17 min read
EJC Architecture: Integrating Electron, Java, and C/C++ for Scalable Desktop Quality Inspection Applications
UCloud Tech
UCloud Tech
Mar 14, 2018 · Backend Development

How to Call C/C++ Libraries from Java Using JNA: A Practical Guide

This article explains how to access native C/C++ functions and complex structures from Java using JNI, JNA, and SWIG, compares their trade‑offs, provides type‑mapping tables, detailed code examples for struct definitions, passing, and callbacks, and offers practical tips for reliable cross‑language integration.

CJNAJNI
0 likes · 9 min read
How to Call C/C++ Libraries from Java Using JNA: A Practical Guide