How to implement a native package?

It's rather simple . . .

    * Choose what to implement in Java, and what to implement in C
    * In the Java source code, write the class, including members and methods
          o the native methods must be declared as such
    o the other Java methods may, of course, call the native ones
    * Write the native methods in C; there are a few conventions on how the method gets its parameter and object reference; 
		the method may create other objects (especially strings)
    * Register the native method in a Hash table in the VM; there is currently no dynamic binding such as JNI
    * Declare the class' memory requirement for non-Java members (allocations done by the C code)
* If needed, Implement the class' destructor 