Java Access to ADU Devices

This page describes how a Java application can access ADU Devices through a wrapper around the AduHid.dll Dynamic Link Library. The AduHid.dll is written in C, however a Java Native Interface (JNI) wrapper allows Java programs to utilize its functions.

Sun Microsystems provides tutorial information about JNI on their Java Tutorial pages.
see http://java.sun.com/docs/books/tutorial/index.html
Please read the Sun Microsystems tutorial as we will not repeat material that is explained there.

Download the AduJava sample application complete with source code. The code in AduJava was typed in from scratch and was not "cut-and-paste" however it follows the Sun tutorial quite closely.

This page does not describe the AduHid interface. Please see the AduHid SDK page for more information.

Contents

  • Overview
  • Running The Demo
  • Line-by-line Description
  • Using the Microsoft .NET Compiler
  • Using the Borland Compiler
  • Using the Microsoft VS 6.0 Compiler
  • Caveats
  • The Hardware
  • Appendices

  • Binary Basics Tutorial

    Resources

  • Java 2 Standard Edition (J2SE) Software Developement Kit (SDK) from Sun Microsystems.
  • Microsoft C compiler and linker included with Visual Studio
  • Borland command line compiler version 5.5


  • AduJava Help File Version 1.0.0.0
    Copyright 2005 Ontrak Control Systems Inc.