Java Native Interface : \ Development \ Java Articles (documents) Organized by topic

Java Articles
1. Class Definition
2. Data
3. Development
4. GUI
5. J2EE
6. J2ME
7. JavaBeans
8. Language
9. Microsoft Collabration
10. Network
11. Swing
12. System Resource
13. XML
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Products
Java by API
C# / C Sharp
C# / CSharp Tutorial
ASP.Net
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
PHP
Python
SQL Server / T-SQL
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Java Articles » Development » Java Native Interface 
1. Fast math with JNI
Author:Jeff S. Smith
URL:http://www.javaworld.com/javatips/jw-javatip141.html?
Summary: Java 2 Platform, Standard Edition (J2SE) 1.4x uses a new StrictMath package to perform mathematical calculations, but many of these math routines are much slower than the corresponding routines in J2SE 1.3. Luckily, Java Native Interface (JNI) enables you to circumvent this serious performance bottleneck. (1,000 words; August 15, 2003)


2. Embed Java code into your native apps
Author:Thierry Manfe
URL:http://www.javaworld.com/javaworld/jw-05-2001/jw-0511-legacy.html?
Summary: Embedding Java code into a Unix application developed in C or C++ can create problems related to GUIs or threads synchronization. In this article, Thierry Manfe implements a solution that relies on a good understanding of the Unix APIs and robust software architecture. (2,400 words)


3. Write native methods
Author:John D. Mitchell
URL:http://www.javaworld.com/javaworld/javatips/jw-javatip23.html?
Summary: Preserving existing investments in non-Java technology is critical to the acceptance of Java technology. A primary way to connect Java to existing code is through the use of native methods. This tip shows you the steps necessary to build support for and use native methods. (1,080 words)


4. Returning data in reference arguments via JNI
Author:Jeff Friesen
URL:http://www.javaworld.com/javaworld/javatips/jw-javatip54.html?
Summary: This tip shows how a C/C++ native method can use the Java Native Interface (JNI) to populate an object's data fields when a reference to that object is passed as an argument to the native method. The article also shows how a native method can create an object and populate its data fields before returning the object to Java. (1,200 words)


w_w__w_.j__a_va___2___s_.__com___
Home | Contact Us
Copyright 2003 - 07 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.