Getting started with NIO

The new input/output (NIO) library was introduced with JDK 1.4. Picking up where original I/O leaves off, NIO provides high-speed, block-oriented I/O in standard Java code. By defining classes to hold data, and by processing that data in blocks, NIO takes advantage of low-level optimizations in a way that the original I/O package could not, without using native code.
Read more

Using The Java Native Interface

In this tutorial we illustrate how the Java Native Interface (JNI) can be used to permit Java programs to communicate with C programs. We begin by compiling the Java program and the C program at the command prompt (i.e. outside of Eclipse) using the MinGW gcc compiler. Once the programs are compiled and executing correctly, we show how the programs can be integrated into an Eclipse project using the CDT plugin.
Read more

Introduction to the “jLookup” Java program

This tutorial leads you through a typical session with the Bank of English Java Interface. After you have finished it you should be acquainted with most of the features of the interface. Subsequently, you will probably find it quicker to refer to the Reference section if you need a reminder about how to use a particular command. Selecting your corpora
Read more