Learn
-
To learn more about the differences between programming in C/C++ and
programming in the Java language -- from a C/C++ programmer's perspective -- see
the tutorial, "Introduction to Java for C/C++ programmers" (developerWorks, April 1999).
-
The recent article "Weighing in
on Java native compilation" (developerWorks, January 2002) uses comparative benchmarks to look at the pros and cons of the Java Native Interface.
-
To further your education in Java programming, see the complete listing of developerWorks
tutorials on Java programming.
-
You'll find hundreds of articles about every aspect of Java programming in
the IBM developerWorks
Java technology zone.
-
To learn more about programming in C++, start with Bjarne Stroustrup's
The C++ Programming Language, Third Edition
(Addison-Wesley, 1996).
-
Another good reference is Kris Jamsa and Lars Klander's
Jamsa's C/C++ Programmer's Bible
(Jamsa Press, 1998).
-
For a more object-oriented approach, see Cay S. Horstmann's
Mastering Object-Oriented Design in C++
(John Wiley & Sons Inc., 1995).
-
Andrew C. Staugaard, Jr., wrote
Structured and Object-Oriented Techniques: An Introduction using C++
(Prentice Hall, 1997).
-
Learn more about the Java Native Interface with Sheng Liang's
Java Native Interface: Programmer's Guide and Specification
(Sun Microsystems Press, 1999).
-
David Flanagan's
Java in a Nutshell,
Third Edition
is essential reading for any Java programmer (O'Reilly, 1999).
-
Also see volumes I and II of the Core Java 2 series by Cay S. Horstmann and Gary Cornell (Sun Microsystems Press, 2000).
-
The
Java 2 Developer's Handbook
by Philip Heller and Simon Roberts
is an excellent resource (Sybex, 1999).
-
To learn more about the Java platform's security model, see Scott Oaks's
Java Security, Second Edition
(O'Reilly, 2001).
-
For an in-depth look at Java data structures and algorithms, see Robert Lafore's
Data Structures & Algorithms in Java
(Waite Group Press, 1998).
Get products and technologies
-
Download the complete source files, j-jni-source.zip, for this tutorial.
-
Download the Java 2 platform,
Standard Edition, version 1.4.
-
If you're a Windows user, you'll likely use Visual C++ to compile your C/C++ code.
-
If you're a UNIX user, you'll likely use
ccto compile your C/C++ code. Of course, GCC is an equally viable, open-source option. -
IBM's VisualAge for Java
is a complete Java development package, including a C/C++ compiler.
-
Further explore your options with developerWorks' listing of IBM developer kits for Java technology.

